OpenShift Container Platform 4.6 在裸机上安装您可以使用内核参数来提供特定于安装的信息。例如,您可以指定上传到 HTTP 服务 器的 RHCOS 安装文件的位置,以及您要安装的节点类型的 Ignition 配置文件的位置。对于 PXE 安装,您可以使用 APPEND 参数将参数传递给实时安装程序的内核。对于 ISO 安装,您可以中 断实时安装引导过程来添加内核参数。在这两种安装情况下,您可以使用特殊的 coreos.inst.* 参 数来指示实时安装程序, rnel-1 OpenShift Container Platform 4.6 在裸机上安装 在裸机上安装 30 1 2 3 1 2 3 APPEND initrd=http:// /rhcos- -live-initramfs. .img coreos.live.rootf inst.ignition_url 参 数值是 bootstrap Ignition 配置文件的位置。您还可以在 APPEND 行中添加更多内核参 数来配置联网或其他引导选项。 注意 注意 这个配置不会在使用图形控制台的机器上启用串口控制台访问。要配置不同的 控制台,请在 APPEND 行中添加一个或多个 console= 参数。例如,添加 console=tty0 console=ttyS0 0 码力 | 160 页 | 1.70 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具Container Platform 4.10 CLI 工具 工具 44 2.5.1.75. oc idle 闲置可扩展资源 用法示例 用法示例 2.5.1.76. oc image append 向镜像添加层并将其推送到 registry 用法示例 用法示例 # List all pods in ps output format oc get pods # List mysql:latest image oc image append --from mysql:latest --to myregistry.com/myimage:latest --image '{"Entrypoint":null}' # Add a new layer to the image oc image append --from mysql:latest --to myregistry image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest --to file://mysql:local layer.tar.gz # Add a new layer to the image and store0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具2.7.1.76. oc get 显示一个或多个资源 用法示例 用法示例 2.7.1.77. oc idle 闲置可扩展资源 用法示例 用法示例 2.7.1.78. oc image append # List all pods in ps output format oc get pods # List all pods in ps output format with mysql:latest image oc image append --from mysql:latest --to myregistry.com/myimage:latest --image '{"Entrypoint":null}' # Add a new layer to the image oc image append --from mysql:latest --to myregistry image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest --to file://mysql:local layer.tar.gz # Add a new layer to the image and store0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具OpenShift Container Platform 4.8 CLI 工具 工具 44 2.5.1.76. oc idle 闲置可扩展资源 用法示例 用法示例 2.5.1.77. oc image append 向镜像添加层并将其推送到 registry 用法示例 用法示例 oc get -o json pod web-pod-13je7 # List a pod identified mysql:latest image oc image append --from mysql:latest --to myregistry.com/myimage:latest --image '{"Entrypoint":null}' # Add a new layer to the image oc image append --from mysql:latest --to myregistry image and store the result on disk # This results in $(pwd)/v2/mysql/blobs,manifests oc image append --from mysql:latest --to file://mysql:local layer.tar.gz # Add a new layer to the image and store0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.8 安装GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-instance-group' properties['control_subnet'] } }] for zone in context.properties['zones']: resources.append({ 'name': context.properties['infra_id'] + '-master-' + zone + '-instance-group', GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-instance-group'0 码力 | 2586 页 | 27.37 MB | 1 年前3
OpenShift Container Platform 4.7 安装GCP 上安装 上安装 827 backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-instance-group' properties['control_subnet'] } }] for zone in context.properties['zones']: resources.append({ OpenShift Container Platform 4.7 安装 安装 828 创建外部集群时,除了 02_lb_ext.py 模板外,还需要此模板。 6.9.10. 在 GCP GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-instance-group'0 码力 | 2276 页 | 23.68 MB | 1 年前3
OpenShift Container Platform 4.10 安装GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + ' properties['control_subnet'] } }] for zone in context.properties['zones']: resources.append({ 'name': context.properties['infra_id'] + '-master-' + zone + '-ig', 'type': GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + '0 码力 | 3142 页 | 33.42 MB | 1 年前3
OpenShift Container Platform 4.14 安装GCP 上安装 上安装 1405 backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + ' properties['control_subnet'] } }] for zone in context.properties['zones']: resources.append({ 'name': context.properties['infra_id'] + '-master-' + zone + '-ig', OpenShift Container GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + '0 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.13 安装GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + ' properties['control_subnet'] } }] for zone in context.properties['zones']: resources.append({ 'name': context.properties['infra_id'] + '-master-' + zone + '-ig', 'type': GenerateConfig(context): backends = [] for zone in context.properties['zones']: backends.append({ 'group': '$(ref.' + context.properties['infra_id'] + '-master-' + zone + '-ig' + '0 码力 | 4634 页 | 43.96 MB | 1 年前3
OpenShift Container Platform 4.6 网络For、X-Forwarded-Host、X-Forwarded-Port、X-Forwarded-Proto 和 X-Forwarded-Proto-Version HTTP 标头。 默认情况下,策略设置为 Append。 Append 指定 Ingress Controller 会附加标头,并保留任何现有的标 头。 Replace 指定 Ingress Controller 设置标头,删除任何现有的标头。 IfNone Controller 配置 HTTPHeaders 字段。 a. 使用以下命令来编辑 IngressController 资源: b. 在 spec 下,将 HTTPHeaders 策略字段设置为 Append、Replace、IfNone 或 Never: 使用案例示例 使用案例示例 作 作为 为集群管理 集群管理员 员,您可以: ,您可以: 配置将 X-Forwarded-For 标头注入每个请求的外部代理,然后将其转发到 name: default namespace: openshift-ingress-operator spec: httpHeaders: forwardedHeaderPolicy: Append 第 第 6 章 章 OPENSHIFT CONTAINER PLATFORM 中的 中的 INGRESS OPERATOR 47 将 Ingress Controller 配置为通过未修改的外部代理在外部集群请求上设置0 码力 | 256 页 | 2.78 MB | 1 年前3
共 23 条
- 1
- 2
- 3













