 OpenShift Container Platform 3.11 CLI 参考服务。如果没有指定标签,新对象将重新使用其公开对象中的标签。 如果您要公开服务,则默认生成器是 --generator=route/v1。对于所有其他情况下,默认为 -- generator=service/v2,这会留下端口未命名。通常,不需要使用 oc expose 命令设置生成器。第三个 生成器 --generator=service/v1 提供了端口名称 default。 Pod Name: docker-registry-1-wvhrx 项目模板 转换为项目配置文件: 4.7.4. run 创建并运行特定的镜像(可能复制)。默认情况下,创建部署配置以管理所创建的容器。您可以选择使用 --generator 标志创建不同的资源: API 资 资源 源 --generator 选项 选项 部署配置 DeploymentConfig/v1 (默认) Pod run-pod/v1 复制控制器 run/v1 使用 extensions/v1beta1 policy 管理授权策略: $ oc process -f OpenShift Container Platform 3.11 CLI 参考服务。如果没有指定标签,新对象将重新使用其公开对象中的标签。 如果您要公开服务,则默认生成器是 --generator=route/v1。对于所有其他情况下,默认为 -- generator=service/v2,这会留下端口未命名。通常,不需要使用 oc expose 命令设置生成器。第三个 生成器 --generator=service/v1 提供了端口名称 default。 Pod Name: docker-registry-1-wvhrx 项目模板 转换为项目配置文件: 4.7.4. run 创建并运行特定的镜像(可能复制)。默认情况下,创建部署配置以管理所创建的容器。您可以选择使用 --generator 标志创建不同的资源: API 资 资源 源 --generator 选项 选项 部署配置 DeploymentConfig/v1 (默认) Pod run-pod/v1 复制控制器 run/v1 使用 extensions/v1beta1 policy 管理授权策略: $ oc process -f- $ oc run NAME --image= - \ [--generator= - ] \ [--port= - ] \ [--replicas= - ] \ [--dry-run= - ] \ 0 码力 | 45 页 | 737.95 KB | 1 年前3
 OpenShift Container Platform 4.10 CLI 工具--port=12201 --protocol="TCP" -- generator="service/v2" oc expose service nginx --name=my-route --port=12201 --generator="route/v1" # Exposing a service using the "route/v1" generator (default) will create a service otherwise). You may not specify a "--protocol" or "--target-port" option when using this generator # Extract the secret "test" to the current directory oc extract secret/test # Extract the0 码力 | 120 页 | 1.04 MB | 1 年前3 OpenShift Container Platform 4.10 CLI 工具--port=12201 --protocol="TCP" -- generator="service/v2" oc expose service nginx --name=my-route --port=12201 --generator="route/v1" # Exposing a service using the "route/v1" generator (default) will create a service otherwise). You may not specify a "--protocol" or "--target-port" option when using this generator # Extract the secret "test" to the current directory oc extract secret/test # Extract the0 码力 | 120 页 | 1.04 MB | 1 年前3
 OpenShift Container Platform 4.8 CLI 工具--port=12201 --protocol="TCP" -- generator="service/v2" oc expose service nginx --name=my-route --port=12201 --generator="route/v1" # Exposing a service using the "route/v1" generator (default) will create a service otherwise). You may not specify a "--protocol" or "--target-port" option when using this generator # Extract the secret "test" to the current directory oc extract secret/test # Extract the0 码力 | 152 页 | 1.24 MB | 1 年前3 OpenShift Container Platform 4.8 CLI 工具--port=12201 --protocol="TCP" -- generator="service/v2" oc expose service nginx --name=my-route --port=12201 --generator="route/v1" # Exposing a service using the "route/v1" generator (default) will create a service otherwise). You may not specify a "--protocol" or "--target-port" option when using this generator # Extract the secret "test" to the current directory oc extract secret/test # Extract the0 码力 | 152 页 | 1.24 MB | 1 年前3
 OpenShift Container Platform 4.10 可伸缩性和性能ZTP 安装和配置 CR OpenShift Container Platform 4.10 可伸 可伸缩 缩性和性能 性和性能 236 使用 ztp-site-generate 容器的 generator 入口点,根据 SiteConfig 和 PolicyGenTemplate CR 为集群 生成站点安装和配置自定义资源 (CR)。 先决条件 先决条件 已安装 OpenShift CLI(oc)。 -v `pwd`/site- install:/output:Z,U registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.10.1 generator install site-1-sno.yaml /output site-install └── site-1-sno ├── site-1_agentclusterinstall_example-sno `pwd`/site- machineconfig:/output:Z,U registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.10.1 generator install -E site-1-sno.yaml /output site-machineconfig └── site-1-sno ├── site-1-sno_machin0 码力 | 315 页 | 3.19 MB | 1 年前3 OpenShift Container Platform 4.10 可伸缩性和性能ZTP 安装和配置 CR OpenShift Container Platform 4.10 可伸 可伸缩 缩性和性能 性和性能 236 使用 ztp-site-generate 容器的 generator 入口点,根据 SiteConfig 和 PolicyGenTemplate CR 为集群 生成站点安装和配置自定义资源 (CR)。 先决条件 先决条件 已安装 OpenShift CLI(oc)。 -v `pwd`/site- install:/output:Z,U registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.10.1 generator install site-1-sno.yaml /output site-install └── site-1-sno ├── site-1_agentclusterinstall_example-sno `pwd`/site- machineconfig:/output:Z,U registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.10.1 generator install -E site-1-sno.yaml /output site-machineconfig └── site-1-sno ├── site-1-sno_machin0 码力 | 315 页 | 3.19 MB | 1 年前3
 OpenShift Container Platform 4.8 日志记录crc-j55b9-master-0 mytag - - - namespace_name=clo-test- 6327,pod_name=log-generator-ff9746c49-qxm7l,container_name=log-generator,message= {"msgcontent":"My life is my message", "timestamp":"2020-11-16 10:49:36"0 码力 | 223 页 | 2.28 MB | 1 年前3 OpenShift Container Platform 4.8 日志记录crc-j55b9-master-0 mytag - - - namespace_name=clo-test- 6327,pod_name=log-generator-ff9746c49-qxm7l,container_name=log-generator,message= {"msgcontent":"My life is my message", "timestamp":"2020-11-16 10:49:36"0 码力 | 223 页 | 2.28 MB | 1 年前3
 OpenShift Container Platform 4.2 镜像DESCRIPTION GENERATOR VALUE SOURCE_REPOSITORY_URL The URL of the repository with your application source0 码力 | 92 页 | 971.35 KB | 1 年前3 OpenShift Container Platform 4.2 镜像DESCRIPTION GENERATOR VALUE SOURCE_REPOSITORY_URL The URL of the repository with your application source0 码力 | 92 页 | 971.35 KB | 1 年前3
 OpenShift Container Platform 4.14 镜像DESCRIPTION GENERATOR VALUE SOURCE_REPOSITORY_URL The URL of the repository with your application source0 码力 | 118 页 | 1.13 MB | 1 年前3 OpenShift Container Platform 4.14 镜像DESCRIPTION GENERATOR VALUE SOURCE_REPOSITORY_URL The URL of the repository with your application source0 码力 | 118 页 | 1.13 MB | 1 年前3
 OpenShift Container Platform 4.7 镜像DESCRIPTION GENERATOR VALUE 第 第 10 章 章 使用模板 使用模板 77 该输出标识了在处理模板时使用类似正则表达式的生成器生成的几个参数。 10.4.3. 生成对象列表 您可以使用0 码力 | 123 页 | 1.20 MB | 1 年前3 OpenShift Container Platform 4.7 镜像DESCRIPTION GENERATOR VALUE 第 第 10 章 章 使用模板 使用模板 77 该输出标识了在处理模板时使用类似正则表达式的生成器生成的几个参数。 10.4.3. 生成对象列表 您可以使用0 码力 | 123 页 | 1.20 MB | 1 年前3
 OpenShift Container Platform 4.6 网络project myproject $ oc expose service nodejs-ex --type=NodePort --name=nodejs-ex-nodeport -- generator="service/v2" service/nodejs-ex-nodeport exposed $ oc get svc -n myproject 第 第 16 章 章 配置集群入口流量0 码力 | 256 页 | 2.78 MB | 1 年前3 OpenShift Container Platform 4.6 网络project myproject $ oc expose service nodejs-ex --type=NodePort --name=nodejs-ex-nodeport -- generator="service/v2" service/nodejs-ex-nodeport exposed $ oc get svc -n myproject 第 第 16 章 章 配置集群入口流量0 码力 | 256 页 | 2.78 MB | 1 年前3
 OpenShift Container Platform 4.9 网络project myproject $ oc expose service nodejs-ex --type=NodePort --name=nodejs-ex-nodeport -- generator="service/v2" service/nodejs-ex-nodeport exposed $ oc get svc -n myproject NAME0 码力 | 388 页 | 4.04 MB | 1 年前3 OpenShift Container Platform 4.9 网络project myproject $ oc expose service nodejs-ex --type=NodePort --name=nodejs-ex-nodeport -- generator="service/v2" service/nodejs-ex-nodeport exposed $ oc get svc -n myproject NAME0 码力 | 388 页 | 4.04 MB | 1 年前3
共 10 条
- 1













