OpenShift Container Platform 4.9 节点tolerations: - key: "key1" operator: "Equal" value: "value1" effect: "NoExecute" tolerationSeconds: 3600 .... OpenShift Container Platform 4.9 节 节点 点 116 effect effect 的值包括: NoSchedule [1] 了解如何使用容限秒数来延迟 迟 pod 驱 驱除 除 您可以通过在 Pod 规格或 MachineSet 对象中指定 tolerationSeconds 参数,指定 pod 在被驱除前可以 保持与节点绑定的时长。如果将具有 NoExecute effect 的污点添加到节点,则容限污点(包含 tolerationSeconds 参数)的 pod,在此期限内 pod 不会被驱除。 输 输出示例 出示例 spec: 容许污点而没有在 Pod 规格中指定 tolerationSeconds,则会永久保持绑定。 如果 Pod 容许污点,且指定了 tolerationSeconds,则会在指定的时间里保持绑定。 例如: 向节点添加以下污点: pod 具有以下容限: value: "value1" effect: "NoExecute" tolerationSeconds: 3600 $ oc adm0 码力 | 374 页 | 3.80 MB | 1 年前3
OpenShift Container Platform 4.6 节点"key1" operator: "Equal" value: "value1" effect: "NoExecute" tolerationSeconds: 3600 .... OpenShift Container Platform 4.6 节 节点 点 152 operator Equal key/value/effect 参数必须匹配。这是默认 对 对象中指定 象中指定 tolerationSeconds 参数,指定 参数,指定 pod 在被 在被驱 驱除前 除前 可以保持与 可以保持与节 节点 点绑 绑定的 定的时长 时长。如果将具有 。如果将具有 NoExecute effect 的 的污 污点添加到 点添加到节 节点, 点,则 则容限 容限污 污点(包含 点(包含 tolerationSeconds 参数)的 参数)的 pod,在此期限内 "key1" operator: "Equal" value: "value1" effect: "NoExecute" tolerationSeconds: 3600 第 第 3 章 章 控制 控制节 节点上的 点上的 POD 放置( 放置(调 调度) 度) 155 1. 处 处理 理 pod 具有匹配容限的 具有匹配容限的污0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.7 日志记录tolerations: 1 - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 16Gi requests: cpu: tolerations: 2 - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 2Gi requests: cpu: - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 2Gi requests:0 码力 | 183 页 | 1.98 MB | 1 年前3
OpenShift Container Platform 4.8 日志记录tolerations: 1 - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 16Gi requests: cpu: tolerations: 2 - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 2Gi requests: cpu: - key: "logging" operator: "Exists" effect: "NoExecute" tolerationSeconds: 6000 resources: limits: memory: 2Gi requests:0 码力 | 223 页 | 2.28 MB | 1 年前3
OpenShift Container Platform 4.9 网络operators: Equal value: abc tolerationSeconds: 3600 1 OpenShift Container Platform 4.9 网 网络 络 20 1 1 2 如果污点是 dns-only,它可以无限期地被容许。您可以省略 tolerationSeconds。 5.4. 查看默认 DNS 每个 OpenShift Container0 码力 | 388 页 | 4.04 MB | 1 年前3
OpenShift Container Platform 4.14 Operatorkubernetes.io/unreachable 和 node.kubernetes.io/not-ready 容限,并使用 tolerationSeconds 值来指定领导 pod 从节点删除所需 的时间,并缩减。这些容限默认添加到 pod 的准入中,tolerationSeconds 值为 5 分钟。详情请参见 Leader-for-life Go 文档。 Leader-with-lease 领导0 码力 | 423 页 | 4.26 MB | 1 年前3
OpenShift Container Platform 4.13 网络Equal value: abc tolerationSeconds: 3600 1 第 第 6 章 章 OPENSHIFT CONTAINER PLATFORM 中的 中的 DNS OPERATOR 25 1 1 2 如果污点是 dns-only,它可以无限期地被容许。您可以省略 tolerationSeconds。 6.4. 查看默认 DNS 每个 OpenShift0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.8 Service Meshkubernetes.io/unreachable operator: Exists effect: NoExecute tolerationSeconds: 60 affinity: podAntiAffinity: requiredDuringScheduling:0 码力 | 344 页 | 3.04 MB | 1 年前3
共 8 条
- 1













