OpenShift Container Platform 4.13 认证和授权[] [create delete deletecollection get list patch update watch] networkpolicies.extensions [] [] [create delete deletecollection watch] daemonsets.extensions [] [] [create delete deletecollection patch update get list watch] deployments.extensions/scale watch] deployments.extensions [] [] [create delete deletecollection patch update get list watch] ingresses.extensions0 码力 | 201 页 | 2.74 MB | 1 年前3
OpenShift Container Platform 4.7 日志记录{"enable":"primaries"}}}},"transient": OpenShift Container Platform 4.7 日志 日志记录 记录 58 输 输出示例 出示例 deployment.extensions/elasticsearch-cdm-0-1 resumed 部署了一个新 Pod。当 Pod 具有就绪的容器后,就能继续进行下一部署。 $ oc get pods | grep elasticsearch- deployment/例如: $ oc rollout pause deployment/elasticsearch-cdm-0-1 输 输出示例 出示例 deployment.extensions/elasticsearch-cdm-0-1 paused c. 检查 Elasticsearch 集群是否处于 green 或 yellow 状态: $ oc exec extensions/elasticsearch-cdm-1gon-1 deployment.extensions/elasticsearch-cdm-1gon-2 deployment.extensions/elasticsearch-cdm-1gon-3 $ oc describe deployment 0 码力 | 183 页 | 1.98 MB | 1 年前3
OpenShift Container Platform 4.8 日志记录{"enable":"primaries"}}}},"transient": OpenShift Container Platform 4.8 日志 日志记录 记录 88 输 输出示例 出示例 deployment.extensions/elasticsearch-cdm-0-1 resumed 部署了一个新 Pod。当 Pod 具有就绪的容器后,就能继续进行下一部署。 $ oc get pods | grep elasticsearch- deployment/例如: $ oc rollout pause deployment/elasticsearch-cdm-0-1 输 输出示例 出示例 deployment.extensions/elasticsearch-cdm-0-1 paused c. 检查 Elasticsearch 集群是否处于 green 或 yellow 状态: $ oc exec extensions/elasticsearch-cdm-1gon-1 deployment.extensions/elasticsearch-cdm-1gon-2 deployment.extensions/elasticsearch-cdm-1gon-3 $ oc describe deployment 0 码力 | 223 页 | 2.28 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具# Print the supported API resources with a specific APIGroup oc api-resources --api-group=extensions # Print the supported API versions oc api-versions # Apply the configuration in pod.json "foo" with API Group specified oc create clusterrole foo --verb=get,list,watch --resource=rs.extensions # Create a cluster role named "foo" with SubResource specified oc create clusterrole foo --verb=get role named "foo" with API Group specified oc create role foo --verb=get,list,watch --resource=rs.extensions # Create a role named "foo" with SubResource specified oc create role foo --verb=get,list0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.8 容器镜像仓库(Registry)Container Registry 为 Prometheus metrics 提供了一个端点。Prometheus是一个独立的开源 系统监视和警报工具包。 metrics 可以通过registry端点的/extensions/v2/metrics路径获得。 流程 流程 您可以通过两种方式访问指标数据:运行指标数据查询或使用集群角色。 指 指标 标数据 数据查询 查询 1. 运行指标查询,例如: 输 输出示例 --insecure -s -u: \ 1 https://image-registry.openshift-image-registry.svc:5000/extensions/v2/metrics | grep imageregistry | head -n 20 # HELP imageregistry_build_info A metric with a 0 码力 | 39 页 | 415.94 KB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序count/. = 1 $ oc create quota test \ -- hard=count/deployments.extensions=2,count/replicasets.extensions=4,count/pods=3,count/secr ets=4 第 第 8 章 章 配 配额 额 129 本例将列出的资源限制为集群中各个项目的硬限值。 -------- ---- ---- count/deployments.extensions 0 2 count/pods 0 3 count/replicasets.extensions 0 4 count/secrets 0 4 # oc describe 0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具--namespaced=false # Print the supported API Resources with specific APIGroup oc api-resources --api-group=extensions # Print the supported API versions oc api-versions # Apply the configuration in pod.json "foo" with API Group specified oc create clusterrole foo --verb=get,list,watch --resource=rs.extensions # Create a ClusterRole named "foo" with SubResource specified oc create clusterrole foo --verb=get Role named "foo" with API Group specified oc create role foo --verb=get,list,watch --resource=rs.extensions # Create a Role named "foo" with SubResource specified oc create role foo --verb=get,list0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序count/. = 1 $ oc create quota test \ -- hard=count/deployments.extensions=2,count/replicasets.extensions=4,count/pods=3,count/secr ets=4 第 第 9 章 章 配 配额 额 143 本例将列出的资源限制为集群中各个项目的硬限值。 -------- ---- ---- count/deployments.extensions 0 2 count/pods 0 3 count/replicasets.extensions 0 4 count/secrets 0 4 # oc describe 0 码力 | 198 页 | 3.62 MB | 1 年前3
OpenShift Container Platform 4.8 Service Meshvalue: name: envoy.lua typed_config: "@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua" inlineCode: | function envoy_on_request(request_handle) 以下是相同的示例,但这一次使用 OCI 镜像而不是文件系统中的文件。记录 url、imagePullPolicy、imagePullSecret 和 imagePullSecret 字段。 apiVersion: extensions.istio.io/v1alpha1 kind: WasmPlugin metadata: name: openid-connect namespace: istio-ingress phase: AUTHN pluginConfig: openid_server: authn openid_realm: ingress apiVersion: extensions.istio.io/v1alpha1 kind: WasmPlugin metadata: name: openid-connect namespace: istio-system spec:0 码力 | 344 页 | 3.04 MB | 1 年前3
OpenShift Container Platform 4.12 容器镜像仓库(Registry)提供了一个端点。Prometheus是一个独立 是一个独立 的开源系 的开源系统监视 统监视和警 和警报 报工具包。 工具包。 metrics 可以通 可以通过 过registry端点的 端点的/extensions/v2/metrics路径 路径获 获得。 得。 流程 流程 您可以使用集群角色 您可以使用集群角色运 运行指 行指标查询 标查询来 来访问 访问指 指标 标。 。 --insecure -s -u: \ 1 https://image-registry.openshift-image-registry.svc:5000/extensions/v2/metrics | grep imageregistry | head -n 20 # HELP imageregistry_build_info A metric with a 0 码力 | 75 页 | 652.51 KB | 1 年前3
共 16 条
- 1
- 2













