OpenShift Container Platform 4.10 CLI 工具-c ruby-container -i -t # Get output from the first pod of a replica set named nginx oc attach rs/nginx # Check to see if I can create pods in any namespace oc auth can-i create pods --all-namespaces role named "foo" with API Group specified oc create clusterrole foo --verb=get,list,watch --resource=rs.extensions # Create a cluster role named "foo" with SubResource specified oc create clusterrole Create a role named "foo" with API Group specified oc create role foo --verb=get,list,watch --resource=rs.extensions # Create a role named "foo" with SubResource specified oc create role foo --verb=get0 码力 | 120 页 | 1.04 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具-c ruby-container -i -t # Get output from the first pod of a replica set named nginx oc attach rs/nginx # Check to see if I can create pods in any namespace oc auth can-i create pods --all-namespaces role named "foo" with API Group specified oc create clusterrole foo --verb=get,list,watch --resource=rs.apps # Create a cluster role named "foo" with SubResource specified oc create clusterrole foo Create a role named "foo" with API Group specified oc create role foo --verb=get,list,watch --resource=rs.apps # Create a role named "foo" with SubResource specified oc create role foo --verb=get,list0 码力 | 128 页 | 1.11 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具-c ruby-container -i -t # Get output from the first pod of a ReplicaSet named nginx oc attach rs/nginx # Check to see if I can create pods in any namespace oc auth can-i create pods --all-namespaces ClusterRole named "foo" with API Group specified oc create clusterrole foo --verb=get,list,watch --resource=rs.extensions # Create a ClusterRole named "foo" with SubResource specified oc create clusterrole Create a Role named "foo" with API Group specified oc create role foo --verb=get,list,watch --resource=rs.extensions # Create a Role named "foo" with SubResource specified oc create role foo --verb=get0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 3.11 CLI 参考cj LimitRange limits 节 节点 点 Pod PO ResourceQuota quota ReplicationController rc replicaSet rs Secrets Service svc ServiceAccount sa Endpoints: 10.128.0.2:5000 Session Affinity: None No events0 码力 | 45 页 | 737.95 KB | 1 年前3
OpenShift Container Platform 4.9 节点HorizontalPodAutoscaler 对 象: 指定要自动扩展的对象类型和名称。对象必须存在,并需要是 Deployment, DeploymentConfig/dc, ReplicaSet/rs, ReplicationController/rc, 或 StatefulSet。 另外,还可以指定缩减时的最小副本数量。 指定扩展时的最大副本数量。 指定所有 pod 的目标平均 CPU 使用率(以请求 DeploymentConfig,使用 apps.openshift.io/v1。 指定对象类型。对象需要是 Deployment, DeploymentConfig/dc, ReplicaSet/rs, ReplicationController/rc, 或 StatefulSet. 指定要缩放的对象名称。对象必须存在。 指定缩减时的最小副本数量。 指定扩展时的最大副本数量。 对于内存使用率,使用 键的污点。 ImageLocalityPriority 优先级优先选择已请求的 pod 容器镜像的节点。 SelectorSpreadPriority 优先级查找服务、复制控制器(RC)、复制集(RS)和与 pod 匹配的有状态的设 置,然后找到与这些选择器匹配的现有 pod。调度程序优先选择具有较少现有匹配 pod 的节点。然后,它 会将 pod 调度到具有与所调度 pod 的选择器匹配的 pod0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.6 节点展的对 对象的 象的类 类型和名称。 型和名称。对 对象必 象必须 须存在,并是一个 存在,并是一个 Deployment、 、DeploymentConfig/dc、 、ReplicaSet/rs、 、ReplicaSet /rc 或 或 StatefulSet。 。 另 另外, 外,还 还可以指定 可以指定缩减时 缩减时的最小副本数量。 指定 指定对 对象的 象的类 类型。 型。对 对象必 象必须 须是 是 Deployment、 、DeploymentConfig/dc、 、ReplicaSet/rs、 、ReplicationController/rc 或 或 StatefulSet。 。 指定要 指定要缩 缩放的 放的对 对象名称。 镜像的 像的节 节点。 点。 SelectorSpreadPriority 优 优先 先级查 级查找服 找服务 务、复制控制器 、复制控制器(RC)、复制集 、复制集(RS)和与 和与 pod 匹配的有状 匹配的有状态 态的 的 设 设置,然后找到与 置,然后找到与这 这些 些选择 选择器匹配的 器匹配的现 现有 有 pod。 。调 调度程序 度程序优 优先 先选择0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.14 Operator象。例如,不要列出存储用户不会修改的内部状态的配置映 射。 选填 OpenShift Container Platform 4.14 Operator 298 SpecDescriptors 、StatusDescripto rs 和 ActionDescriptors 这些描述符是通过对终端用户来说最重要的 Operator 的某些 输入或输出提示 UI 的一种方式。如果您的 CRD 包含用户必 须提供的 Secret ] } } ... 第 第 5 章 章 开 开发 发 OPERATOR 305 SpecDescriptors 、StatusDescripto rs 和 ActionDescriptors 与拥有的 CRD 基本相同。 选填 字段 字段 描述 描述 必需 必需/可 可选 选 5.7.11.1.1. API 服 服务资源 源创建 建 Operator0 码力 | 423 页 | 4.26 MB | 1 年前3
共 7 条
- 1













