OpenShift Container Platform 4.10 CLI 工具以确保列出了插件。 输 输出示例 出示例 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]] then echo "1.0.0" exit 0 fi # optional argument handling if [[ "$1" == "config" ]] then echo $KUBECONFIG 6. oc adm create-bootstrap-project-template 创建 bootstrap 项目模板 用法示例 用法示例 2.6.1.7. oc adm create-error-template 创建错误页面模板 oc adm catalog mirror quay.io/my/image:latest file:///local/index oc adm catalog 2.6.1.12. oc adm groups new 创建一个新组 用法示例 用法示例 # Output a template for the error page to stdout oc adm create-error-template # Output a template for the login page to stdout oc adm create-login-template0 码力 | 120 页 | 1.04 MB | 1 年前3
 OpenShift Container Platform 4.9 构建应用程序"annotations": { "rbac.authorization.kubernetes.io/autoupdate": "false" } } }' $ oc new-project test Error from server (Forbidden): You may not request a new project via this API. You may not request a new --address 0.0.0.0 svc/spring-petclinic 8080:80 -n my-petclinic Forwarding from 0.0.0.0:8080 -> 8080 Handling connection for 8080 第 第 5 章 章 将 将应 应用程序 用程序连 连接到服 接到服务 务 51 5.4.4. 其它资源 安装 Service Binding Operator --address 0.0.0.0 svc/spring-petclinic 8080:80 -n my-petclinic Forwarding from 0.0.0.0:8080 -> 8080 Handling connection for 8080 OpenShift Container Platform 4.9 构 构建 建应 应用程序 用程序 58 本节论述了您可以使用什么方法公开绑定数据。0 码力 | 184 页 | 3.36 MB | 1 年前3
 OpenShift Container Platform 4.13 CLI 工具将以下内容添加到该文件中。 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]] then echo "1.0.0" exit 0 fi # optional argument handling if [[ "$1" == "config" ]] then 第 第 2 章 章 OPENSHIFT 6. oc adm create-bootstrap-project-template 创建 bootstrap 项目模板 用法示例 用法示例 2.8.1.7. oc adm create-error-template 创建错误页面模板 用法示例 用法示例 oc apply -f manifests/imageContentSourcePolicy.yaml # Edit the 2.8.1.12. oc adm groups new 创建一个新组 用法示例 用法示例 # Output a template for the error page to stdout oc adm create-error-template # Output a template for the login page to stdout oc adm create-login-template0 码力 | 128 页 | 1.11 MB | 1 年前3
 OpenShift Container Platform 4.10 构建应用程序"annotations": { "rbac.authorization.kubernetes.io/autoupdate": "false" } } }' $ oc new-project test Error from server (Forbidden): You may not request a new project via this API. You may not request a new --address 0.0.0.0 svc/spring-petclinic 8080:80 -n my-petclinic Forwarding from 0.0.0.0:8080 -> 8080 Handling connection for 8080 OpenShift Container Platform 4.10 构 构建 建应 应用程序 用程序 58 6.5.1. 部署 PostgreSQL --address 0.0.0.0 svc/spring-petclinic 8080:80 -n my-petclinic Forwarding from 0.0.0.0:8080 -> 8080 Handling connection for 8080 OpenShift Container Platform 4.10 构 构建 建应 应用程序 用程序 64 6.6. 从服务公开绑定数据 应用0 码力 | 198 页 | 3.62 MB | 1 年前3
 OpenShift Container Platform 4.8 CLI 工具以确保列出了插件。 输 输出示例 出示例 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]] then echo "1.0.0" exit 0 fi # optional argument handling if [[ "$1" == "config" ]] then echo $KUBECONFIG oc adm create-bootstrap-project-template 创建 bootstrap 项目模板 用法示例 用法示例 2.6.1.21. oc adm create-error-template 创建错误页面模板 用法示例 用法示例 # Unset namespace in foo context. oc config unset contexts.foo 2.6.1.26. oc adm groups new 创建一个新组 用法示例 用法示例 # Output a template for the error page to stdout oc adm create-error-template # Output a template for the login page to stdout oc adm create-login-template0 码力 | 152 页 | 1.24 MB | 1 年前3
 OpenShift Container Platform 4.14 Operatorpatch bundle combo-tag-ref --type='merge' -p '{"spec":{"source":{"git":{"ref":{"tag":"v0.0.3"}}}}}' Error from server (bundle.spec is immutable): admission webhook "vbundles.core.rukpak.io" denied the request: 前,您必须已成功并完全卸载了 Operator。没有正确地完 全卸载 Operator 可能会留下一些资源,如项目或命名空间,处于"Terminating"状态,并导 致尝试重新安装 Operator 时观察到 "error resolving resource" 消息。 如需更多信息,请参阅卸载失败后重新安装 Operator。 4.3.1. 使用 Web 控制台从集群中删除 Operator OpenShift bundle@sha256:6d2587129c846ec28d384540322b40b05833e7e00b25cca584e004af9a1d292e" rpc error: code = Unknown desc = error pinging docker registry example.com: Get "https://example.com/v2/": dial tcp: lookup0 码力 | 423 页 | 4.26 MB | 1 年前3
 OpenShift Container Platform 4.10 可伸缩性和性能, memberID: failed defrag on member: , memberID: : <error_message>  第 第 1 章 章 推荐的主机 推荐的主机实 实践 践 19 a. 获取 etcd pod 列表: 输 输出示例 出示例 b. 选择 pod 并运行以下命令来确定哪个 可以在没有正确的资源协调的情况下被节 点接受,从而导致性能更差或无法达到预期。例如,当 pod 调度程序通过不知道 pod 请求的资源可用而 导致做出非最佳的调度决定时,pod 创建可能会出现 Topology Affinity Error 状态。调度不匹配决策可 能会导致 pod 启动延迟。另外,根据集群状态和资源分配,pod 调度决策可能会因为启动失败而对集群造 成额外的负载。 NUMA Resources Operator 部署了一个自定义 [INFO]: found mcd machine-config-daemon-dzpw7 for node ocp- worker-0.demo.lab Feb 10 17:11:56.825: [ERROR]: timed out waiting for the condition • Failure [193.903 seconds] [performance] Latency Test /re 0 码力 | 315 页 | 3.19 MB | 1 年前3
 OpenShift Container Platform 4.13 认证和授权unt_result 按照结果(success 或 error)统计 oc login 用户名和密码的尝试次数。 openshift_auth_form_password_count 统计 web 控制台登录尝试次数。 openshift_auth_form_password_count_result 按照结果(success 或 error)统计 web 控制 台登录尝试次数。 opens 参数(RFC 6749 4.2.2 部分) 使用 access_token 值作为 OAuth 令牌。 302 Location 标头包含 error 查询参数(RFC 6749 4.1.2.1 部分) 失败,或向用户显示 error(使用可选的 error_description)查询值 302 其他 Location 标头 接续重定向操作,并使用这些规则处理结果 401 WWW-Authenticate PROGRESSING DEGRADED SINCE kube-apiserver 4.13.0 True False False 145m error: You must be logged in to the server (Unauthorized) OpenShift Container Platform 4.13 认证 认证和授 和授权0 码力 | 201 页 | 2.74 MB | 1 年前3
 OpenShift Container Platform 4.10 监控user-workload-monitoring-config ConfigMap 中的相关组件: debug。记录调试、信息、警告和错误消息。 info。记录信息、警告和错误消息。 warn。仅记录警告和错误消息。 error。仅记录错误消息。 默认日志级别为 info。 先决条件 先决条件 如果要 如果要为 为 openshift-monitoring 项 项目中的 目中的 Alertmanager、 、Prometheus 监控,可用组件值包括 prometheusK8s、alertmanagerMain、prometheusOperator 和 thanosQuerier。 为组件设置的日志级别。可用值为 error、warn、info 和 debug。默认值为 info。 要 要为 为 openshift-user-workload-monitoring 项 项目中的 目中的组 组件 件设 设置日志 置日志级别 您要为其设置日志级别的监控堆栈组件。对于用户工作负载监控,可用组件值包括 prometheus、prometheusOperator 和 thanosRuler。 为组件设置的日志级别。可用值为 error、warn、info 和 debug。默认值为 info。 2. 保存文件以使改变生效。应用日志级别更改时,组件的 Pod 会自动重启。 注意 注意 除非集群管理员为用户定义的项目启用了监控,否则应用到0 码力 | 135 页 | 1.58 MB | 1 年前3
 OpenShift Container Platform 4.2 Web 控制台CONTAINER PLATFORM 仪表板页 OpenShift Container Platform 仪表板由以下各卡组成: Details 提供有关信息型集群详情的简单概述。 状态包括 ok、error、warning、in progress 和 unknown。资源可添加自定义状态名称。 集群 ID 提供者 版本 Cluster Inventory 详细列出资源数目和相关状态。这在通过干预解决问题时非常有用,其中包含 create-login-template > login.html $ oc adm create-provider-selection-template > providers.html $ oc adm create-error-template > errors.html 2. 创建 secret: $ oc create secret generic login-template --from-file=login oc create secret generic error-template --from-file=errors.html -n openshift-config 3. 运行: $ oc edit oauths cluster 4. 更新规格: spec: templates: error: name: error-template login:0 码力 | 17 页 | 209.14 KB | 1 年前3
共 44 条
- 1
 - 2
 - 3
 - 4
 - 5
 













