OpenShift Container Platform 4.10 安装像到 airgapped registry 如果您的镜像 registry 位于完全断开连接的主机上,或 airgapped 主机上,请执行以下操作。 src image has index label for database path: /database/index.db using database path mapping: /database/index.db:/tmp/153048078 类型。示例: ecs.g6.large 字符串. compute.platfor m.alibabacloud. systemDiskCate gory 定义系统磁盘的类别。示例: cloud_efficiency,cloud_e ssd 字符串. compute.platfor m.alibabacloud. systemDisksize 以 KB (GiB) 为单位定义系统磁 盘大小。 整数 g6.xlarge 字符串. controlPlane.pla tform.alibabaclo ud.systemDiskC ategory 定义系统磁盘的类别。示例: cloud_efficiency,cloud_e ssd 字符串. controlPlane.pla tform.alibabaclo ud.systemDisks ize 以 KB (GiB) 为单位定义系统磁 盘大小。0 码力 | 3142 页 | 33.42 MB | 1 年前3
OpenShift Container Platform 4.13 安装[--index-filter-by-os='/ '] \ 5 [--manifests-only] 6 src image has index label for database path: /database/index.db using database path mapping: /database/index.db:/tmp/153048078 类型。示例: ecs.g6.large 字符串. compute.platfor m.alibabacloud. systemDiskCate gory 定义系统磁盘的类别。示例: cloud_efficiency,cloud_e ssd 字符串. OpenShift Container Platform 4.13 安装 安装 118 compute.platfor m.alibabacloud g6.xlarge 字符串. controlPlane.pla tform.alibabaclo ud.systemDiskC ategory 定义系统磁盘的类别。示例: cloud_efficiency,cloud_e ssd 字符串. controlPlane.pla tform.alibabaclo ud.systemDisks ize 以 KB (GiB) 为单位定义系统磁 盘大小。 0 码力 | 4634 页 | 43.96 MB | 1 年前3
OpenShift Container Platform 4.14 安装[--index-filter-by-os='/ '] \ 5 [--manifests-only] 6 src image has index label for database path: /database/index.db using database path mapping: /database/index.db:/tmp/153048078 defaultMachinePlatform: 3 instanceType: ecs.g6.xlarge systemDiskCategory: cloud_efficiency systemDiskSize: 200 region: ap-southeast-1 4 resourceGroupID: rg-acfnw6j3hyai 5 defaultMachinePlatform: 3 instanceType: ecs.g6.xlarge systemDiskCategory: cloud_efficiency systemDiskSize: 200 region: ap-southeast-1 4 resourceGroupID: rg-acfnw6j3hyai 5 0 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.10 CLI 工具# Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx oc apply --prune -f manifest.yaml -l app=nginx my-namespace # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time oc create poddisruptionbudget --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time oc create0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具# Apply the configuration in manifest.yaml that matches label app=nginx and delete all other resources that are not in the file and match label app=nginx oc apply --prune -f manifest.yaml -l app=nginx 用法示例 # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time oc create poddisruptionbudget --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time oc create0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.9 节点metadata: labels: region: east type: user-node .... $ oc label nodes= $ oc label nodes ip-10-0-142-25.ec2.internal type=user-node region=east kind: Node apiVersion: "RequireRegion", "argument": { "labelPreference": {"label": "region"}, {"presence": true} } } ], "priorities": "weight" : 1, "argument": { "labelPreference": {"label": "zone"}, {"presence": true} } } ] } $ 0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具Apply the configuration in manifest.yaml that matches label app=nginx and delete all the other resources that are not in the file and match label app=nginx. oc apply --prune -f manifest.yaml -l app=nginx my-namespace # Create a pod disruption budget named my-pdb that will select all pods with the app=rails label # and require at least one of them being available at any point in time. oc create poddisruptionbudget --min-available=1 # Create a pod disruption budget named my-pdb that will select all pods with the app=nginx label # and require at least half of the pods selected to be available at any point in time. oc create0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.6 节点metadata: labels: region: east type: user-node .... $ oc label nodes= $ oc label nodes ip-10-0-142-25.ec2.internal type=user-node region=east $ oc get nodes -l 置了带 带 labelPreference 参数的多个 参数的多个优 优先 先 "serviceAntiAffinity":{ "label": "<label>" 3 } } } ] } { "kind": "Policy", "apiVersion": "v1", "priorities": "weight" : 1, "argument": { "serviceAntiAffinity": { "label": "rack" } } } ] } OpenShift Container Platform 4.6 节 节点 点 0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.2 镜像会添加其他元数据或用例。 4.2.1. 定义镜像元数据 您可使用 Dockerfile 中的 LABEL 指令来定义镜像元数据。标签与环境变量的相似之处在于标签是附加到 镜像或容器中的键值对。标签与环境变量的不同之处在于标签对运行中的应用程序不可见,可用于快速查 找镜像和容器。 有关 LABEL 指令的更多信息,请参阅 Docker 文档。 标签名称一般应具有命名空间。命名空间应进行相应设 中建议相关容器镜像。 LABEL io.openshift.tags mongodb,mongodb24,nosql io.openshift.wants 指定标签列表,如果您未向容器镜像附带给定标签,则生成工具和 UI 可使用该 列表提供相关建议。例如,如果容器镜像需要 mysql 和 redis,而您未向容器 镜像附带 redis 标签,则 UI 可能会建议您将此镜像添加到部署中。 LABEL io.openshift redis io.k8s.description 该标签可用于向容器镜像用户提供有关此镜像所提供服务或功能的更详细信息。 然后 UI 可结合使用此描述与容器镜像名称,为最终用户提供更人性化的信息。 LABEL io.k8s.description The MySQL 5.5 Server with master-slave replication support OpenShift Container0 码力 | 92 页 | 971.35 KB | 1 年前3
OpenShift Container Platform 4.7 镜像会添加其他元数据或用例。 4.2.1. 定义镜像元数据 您可使用 Dockerfile 中的 LABEL 指令来定义镜像元数据。标签与环境变量的相似之处在于标签是附加到 镜像或容器中的键值对。标签与环境变量的不同之处在于标签对运行中的应用程序不可见,可用于快速查 找镜像和容器。 有关 LABEL 指令的更多信息,请参阅 Docker 文档。 标签名称通常具有命名空间。命名空间会进行相应设置,以反映将要提取和使用标签的项目。对于 中建议相关容器镜像。 LABEL io.openshift.tags mongodb,mongodb24,nosql io.openshift.wants 指定标签列表,如果您未向容器镜像附带给定标签,则生成工具和 UI 可使用该 列表提供相关建议。例如,如果容器镜像需要 mysql 和 redis,而您未向容器 镜像附带 redis 标签,则 UI 可能会建议您将此镜像添加到部署中。 LABEL io.openshift 信息。 LABEL io.k8s.description The MySQL 5.5 Server with master-slave replication support io.openshift.non- scalable 镜像可以使用此变量来表明它不支持扩展。UI 然后将这一信息传达给该镜像的用 户。不可扩展表示 replicas 值的最初设置不应超过 1。 LABEL io.openshift0 码力 | 123 页 | 1.20 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













