OpenShift Container Platform 4.13 CLI 工具bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y 2 Authentication required for https://openshift.example.com:6443 (openshift) com/sclorg/cakephp-ex on openshift/php:7.2 deployment #1 deployed 2 minutes ago - 1 pod 3 infos identified, use 'oc status --suggest' to see details. $ oc api-resources NAME SHORTNAMES 2 pods To see more information about a service or deployment, use 'oc describe service' or 'oc describe dc '. You can use 'oc get all' to see lists of each of the types described in this 0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.14 Operatorunder the Apache License, Version 2.0 (the "License"); 第 第 5 章 章 开 开发 发 OPERATOR 185 you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www // Owned objects are automatically garbage collected. For additional cleanup logic use finalizers. // Return and don't requeue log.Info("Memcached 项目的选项,它利用现有 Ansible playbook 和模块将 Kubernetes 资源 部署为统一应用程序,而无需编写任何 Go 代码。 # Set the Operator SDK version to use. By default, what is installed on the system is used. # This is useful for CI or a project to utilize0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.9 网络这些调整仅应用于明文、边缘终止和重新加密路由,且仅在使用 HTTP/1 时有 效。 对于请求标头,这些调整仅适用于具有 haproxy.router.openshift.io/h1- adjust-case=true 注解的路由。对于响应标头,这些调整适用于所有 HTTP 响 应。如果此字段为空,则不会调整任何请求标头。 httpErrorCodePages httpErrorCodePages 指定自定义 ustments":["Host"]}}}' $ oc annotate routes/my-application haproxy.router.openshift.io/h1-adjust-case=true apiVersion: operator.openshift.io/v1 kind: IngressController metadata: name: default namespace: 2. 以下示例路由中,使用 haproxy.router.openshift.io/h1-adjust-case 注解启用对 HTTP 响应 标头名称的大小写调整: 路由 路由 YAML 示例 示例 将 haproxy.router.openshift.io/h1-adjust-case 设置为 true。 6.8.17. 自定义 HAProxy 错误代码响应页面 作为集群管理员,您可以为0 码力 | 388 页 | 4.04 MB | 1 年前3
OpenShift Container Platform 4.8 Service MeshapiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: ingress-case-insensitive namespace: istio-system spec: configPatches: - applyTo: HTTP_FILTER 第 第 1 章 章 SERVICE [external/envoy/source/common/protobuf/utility.cc:174] Using deprecated option 'envoy.api.v2.Listener.use_original_dst' from file LDS.proto。This configuration will be removed from Envoy soon. MAISTRA-806 options have been removed in v2.1, please use another alternative, support for telemetry.type "Mixer" and telemetry.Mixer options have been removed in v2.1, please use another alternative]” apiVersion: maistra 0 码力 | 344 页 | 3.04 MB | 1 年前3
OpenShift Container Platform 4.13 网络这些调整仅应用于明文、边缘终止和重新加密路由,且仅在使用 HTTP/1 时有 效。 对于请求标头,这些调整仅适用于具有 haproxy.router.openshift.io/h1- adjust-case=true 注解的路由。对于响应标头,这些调整适用于所有 HTTP 响 应。如果此字段为空,则不会调整任何请求标头。 httpCompression httpCompression 定义 HTTP 示例 2. 以下示例路由中,使用 haproxy.router.openshift.io/h1-adjust-case 注解启用对 HTTP 响应 标头名称的大小写调整: 路由 YAML 示例 将 haproxy.router.openshift.io/h1-adjust-case 设置为 true。 7.8.18. 使用路由器压缩 您可以将 HAProxy Ingress Controller 类型和子类型的完整表示法,请 参阅 RFC1341。 注意 $ oc annotate routes/my-application haproxy.router.openshift.io/h1-adjust-case=true apiVersion: operator.openshift.io/v1 kind: IngressController metadata: name: default namespace:0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.4 构建(build)popd 例 例 5.4. usage 脚本: 脚本: #!/bin/bash # inform the user how to use the image cat <use it, install https://github.com/openshift/source-to-image EOF 5.3. touch /tmp/built 3. 在同一目录中,创建名为 build.sh 的文件。此文件包含自定义生成运行时将要执行的逻辑: #!/bin/sh # Note that in this case the build inputs are part of the custom builder image, but normally this # would be retrieved from buildah requires a slight modification to the push secret provided by the service # account in order to use it for pushing the image cp /var/run/secrets/openshift.io/push/.dockercfg /tmp (echo "{ \"auths\": 0 码力 | 101 页 | 1.12 MB | 1 年前3
OpenShift Container Platform 4.13 CI/CDstream tar cf - deps fi popd #!/bin/bash # inform the user how to use the image cat <use it, install https://github.com/openshift/source-to-image EOF 第 第 2 sh"] FROM registry.access.redhat.com/ubi9/ubi RUN touch /tmp/build #!/bin/sh # Note that in this case the build inputs are part of the custom builder image, but normally this # is retrieved from an external 构建您的自定义构建器镜像。 流程 流程 1. 创建名为 buildconfig.yaml 的文件。此文件定义要在项目中创建并执行的 BuildConfig 对象: # account to use it for pushing the image cp /var/run/secrets/openshift.io/push/.dockercfg /tmp (echo "{ \"auths\": 0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 4.6 发行注记显示一个旧的徽标。在这个版本中,当前徽标替换了旧的徽标。 (BZ#1810046) 在以前的版本中,Operator 资源字段名称在 web 控制台中显示不一致(camelCase 或 Start Case )。现在,操作对象表单生成逻辑默认使用 Start Case 来标记表单字段。使用 CSV 或 CRD 对象可以覆盖默认设置。(BZ#1854196) 在以前的版本中,如果 Resource Log 视图缺少了新行控制字符(/n),则资源日志视图不会显 Alternative Name,验证不会回退到 Common Name 字段,命令会失败并显示以下错误: x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0 作为临时解决方案,您可以使用带有正确 Subject0 码力 | 91 页 | 1.15 MB | 1 年前3
OpenShift Container Platform 4.10 可伸缩性和性能,仅能接受对键的读 和删除操作。 监控这些关键指标: etcd_server_quota_backend_bytes,这是当前配额限制 etcd_mvcc_db_total_size_in_use_in_bytes,表示历史压缩后实际数据库使用量 etcd_mvcc_db_total_size_in_bytes 显示数据库大小,包括等待碎片整理的可用空间 在导致磁盘碎片的事件后(如 etcd 数据库大小(MB)来决定是否需要进行碎片整理。通过 PromQL 表达 (etcd_mvcc_db_total_size_in_bytes - etcd_mvcc_db_total_size_in_use_in_bytes)/1024/1024 来释 放空间。 警告 警告 分离 etcd 是一个阻止性操作。在进行碎片处理完成前,etcd 成员将没有响应。因 此,在每个下一个 pod 要进行碎片清 example.redhat.com etcdctl endpoint status --cluster -w table Defaulting container name to etcdctl. Use 'oc describe pod/etcd-ip-10-0-159-225.example.redhat.com -n openshift-etcd' to see all of the containers0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.7 安装指定要在 registry 中创建的仓库名称,如 ocp4/openshift4。 x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0 $ OCP_RELEASE=letter, and have a maximum of 27 characters. Description: A short, representative cluster name to use for host names and other identifying names. Type: String InfrastructureName: AllowedPattern: cluster. Type: String RhcosAmi: Description: Current Red Hat Enterprise Linux CoreOS AMI to use for bootstrap. Type: AWS::EC2::Image::Id AllowedBootstrapSshCidr: AllowedPattern: ^(([0- 0 码力 | 2276 页 | 23.68 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5













