OpenShift Container Platform 4.8 CLI 工具distribution's package manager. ## Load the oc completion code for bash into the current shell source <(oc completion bash) ## Write bash completion code to a file and source it from .bash_profile oc completion source $HOME/.bash_profile # Load the oc completion code for zsh[1] into the current shell source <(oc completion zsh) # Set the oc completion code for zsh[1] to autoload on startup oc completion zsh that can be used to create an app oc new-app --list # Create an application based on the source code in the current git repository (with a public remote) and a Docker image oc new-app . --docker-0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.8
Web 控制台OSSM-99 从没有标签(label)的直接 Pod 产生的工作负载可能会导致 Kiali 崩溃。 OSSM-93 IstioConfigList 无法根据两个或者更多名称进行过滤。 OSSM-92 在 VS/DR YAML 编辑页面中取消未保存的更改不会取消更改。 OSSM-90 trace 没有包括在服务详情页中。 MAISTRA-1001 关闭 HTTP/2 连接可能会导致 istio-proxy 登录 OpenShift Container Platform CLI。 2. 运行这个命令确认已部署了 Bookinfo: $ curl -o /dev/null -s -w "%{http_code}\n" http://$GATEWAY_URL/productpage 另外,也可以通过在浏览器中打开 http://$GATEWAY_URL/productpage 来确认。 您还可以确认所有0 码力 | 87 页 | 1.58 MB | 1 年前3
OpenShift Container Platform 4.8 日志记录rate limit exceeded' or '500 Internal Server Error rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5277702 vs. 4194304)' ,\nentry with timestamp 2021-08-18 05:58:55.061936 dl_dst=0a:58:0a:81:02:14,nw_src=10 .129.2.18,nw_dst=10.129.2.20,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0 { "@timestamp" : "2021-07-06T08:26:58..687000+00:00", "hostname":"ip.abc.iternal", 第 第 7 章 dl_dst=0a:58:0a:81:02:14,nw_src=10.129.2.18,nw_dst= 10.129.2.20,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0" } $ oc delete pod --selector logging-infra=collector OpenShift Container Platform 4.8 日志 日志记录0 码力 | 223 页 | 2.28 MB | 1 年前3
OpenShift Container Platform 4.9 网络错误代码页面作为自定义的模板,文 件中的标头需要编辑器而不是使用 CRLF 行结尾。 流程 流程 1. 在 openshift-config 命名空间中创建一个名为 my-custom-error-code-pages 的配置映射: httpHeaders: headerNameCaseAdjustments: - Host apiVersion: route.openshift pod,以便 使用正确的信息重新创建它们。 2. 对 Ingress Controller 进行补丁以根据名称引用 my-custom-error-code-pages 配置映射: Ingress Operator 将 my-custom-error-code-pages 配置映射从 openshift-config 命名空间复制 到 openshift-ingress 命名空间。Operator 根据 验证 验证自定义错误代码 HTTP 响应: 1. 创建测试项目和应用程序: $ oc -n openshift-config create configmap my-custom-error-code-pages \ --from-file=error-page-503.http \ --from-file=error-page-404.http $ oc patch -n openshift-ingress-operator0 码力 | 388 页 | 4.04 MB | 1 年前3
OpenShift Container Platform 4.14 Operatorator- bundle@sha256:6d2587129c846ec28d384540322b40b05833e7e00b25cca584e004af9a1d292e" rpc error: code = Unknown desc = error pinging docker registry example.com: Get "https://example.com/v2/": dial tcp: 47s) kubelet Failed to pull image "quay.io/example-org/example-catalog:v1": rpc error: code = Unknown desc = reading manifest v1 in quay.io/example-org/example-catalog: unauthorized: access 47s) kubelet Failed to pull image "quay.io/example-org/example-catalog:v1": rpc error: code = Unknown desc = reading manifest v1 in quay.io/example-org/example-catalog: unauthorized: access0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.14 机器管理VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Storage Account type 'UltraSSD_LRS' is not supportedprocessorType: Shared processors: "0.5" serviceInstance: id: vs_service_instance_id> type: ID 12 systemType: s922 userDataSecret: VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Storage Account type 'UltraSSD_LRS' is not supported 0 码力 | 277 页 | 4.37 MB | 1 年前3
OpenShift Container Platform 4.13 网络错误代码页面作为自定义的模板,文 件中的标头需要编辑器而不是使用 CRLF 行结尾。 流程 流程 1. 在 openshift-config 命名空间中创建一个名为 my-custom-error-code-pages 的配置映射: 重要 haproxy_server_bytes_in_total{namespace="",pod="",route="",server="fe_no_sni",service=" http://: @ :1936/metrics;csv $ oc -n openshift-config create configmap my-custom-error-code-pages \ --from-file=error-page-503.http \ --from-file=error-page-404.http 第 第 7 章 章 OPENSHIFT CONTAINER pod,以便 使用正确的信息重新创建它们。 2. 对 Ingress Controller 进行补丁以根据名称引用 my-custom-error-code-pages 配置映射: Ingress Operator 将 my-custom-error-code-pages 配置映射从 openshift-config 命名空间复制 到 openshift-ingress 命名空间。Operator 根据 0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.8 Service Meshroute: - destination: host: productpage port: number: 9080 $ oc apply -f vs.yaml export GATEWAY_URL=$(oc -n istio-system get route istio-ingressgateway -o jsonpath='{.spec.host}') OpenShift Container Platform 4.8 Service Mesh 256 OSSM-93 IstioConfigList 无法根据两个或者更多名称进行过滤。 OSSM-92 在 VS/DR YAML 编辑页面中取消未保存的更改不会取消更改。 OSSM-90 trace 没有包括在服务详情页中。 MAISTRA-1649 不同命名空间中的无标头服务会有冲突。在不同命名空间中部署无头服务时,端 route: - destination: host: productpage port: number: 9080 $ oc apply -f vs.yaml export GATEWAY_URL=$(oc -n istio-system get route istio-ingressgateway -o jsonpath='{.spec.host}')0 码力 | 344 页 | 3.04 MB | 1 年前3
OpenShift Container Platform 4.14 发行注记Web Services 的云控制器管理器 技术预览 技术预览 公开发行 Google Cloud Platform 的云控制器管理器 技术预览 技术预览 技术预览 IBM Cloud Power VS 的云控制器管理器 不可用 技术预览 技术预览 Microsoft Azure 的云控制器管理器 技术预览 技术预览 公开发行 Nutanix 的云控制器管理器 技术预览 公开发行 公开发行 VMware0 码力 | 73 页 | 893.33 KB | 1 年前3
OpenShift Container Platform 4.13 安装ac k H u b G C P N ut an ix R H O S P R H V 裸 裸 机 机 (6 4 位 位 x8 6) 裸 裸 机 机 (6 4 位 位 A R M ) vS p h er e V M C IB M Cl o u d V P C IB M Z IB M P o w er IB M P o w er Vi rt u al S er v er D ac k H u b G C P N ut an ix R H O S P R H V 裸 裸 机 机 (6 4 位 位 x8 6) 裸 裸 机 机 (6 4 位 位 A R M ) vS p h er e V M C IB M Cl o u d V P C IB M Z IB M P o w er IB M P o w er Vi rt u al S er v er 表 handler" Role: Fn::GetAtt: - "RegisterTargetLambdaIamRole" - "Arn" Code: ZipFile: | import json import boto3 import cfnresponse0 码力 | 4634 页 | 43.96 MB | 1 年前3
共 36 条
- 1
- 2
- 3
- 4













