 Kubernetes开源书 -  周立的taint创 建 NoExecute toleration。 node.kubernetes.io/not-ready node.alpha.kubernetes.io/unreachable 这样可以确保在启⽤ TaintBasedEvictions alpha功能时,当Node出现问题(如⽹络分区)时,它们将不被驱逐。(当 TaintBasedEvictions io/not-ready :Node尚未准备就绪。 这对应于NodeCondition Ready 字段为 False 。 node.alpha.kubernetes.io/unreachable :Node⽆法从Node Controller访问。这对应于NodeCondition Ready 字段 为 Unknown 。 node.kubernetes.io/out-of-disk 分区恢复时避免 该驱逐。 在这种情况下,Pod将使⽤的Toleration情况看起来像: tolerations: - key: "node.alpha.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" 23-容忍与污点 104 tolerationSeconds: 6000 请注意,除⾮⽤户提供的Pod配置已经具有0 码力 | 135 页 | 21.02 MB | 1 年前3 Kubernetes开源书 -  周立的taint创 建 NoExecute toleration。 node.kubernetes.io/not-ready node.alpha.kubernetes.io/unreachable 这样可以确保在启⽤ TaintBasedEvictions alpha功能时,当Node出现问题(如⽹络分区)时,它们将不被驱逐。(当 TaintBasedEvictions io/not-ready :Node尚未准备就绪。 这对应于NodeCondition Ready 字段为 False 。 node.alpha.kubernetes.io/unreachable :Node⽆法从Node Controller访问。这对应于NodeCondition Ready 字段 为 Unknown 。 node.kubernetes.io/out-of-disk 分区恢复时避免 该驱逐。 在这种情况下,Pod将使⽤的Toleration情况看起来像: tolerations: - key: "node.alpha.kubernetes.io/unreachable" operator: "Exists" effect: "NoExecute" 23-容忍与污点 104 tolerationSeconds: 6000 请注意,除⾮⽤户提供的Pod配置已经具有0 码力 | 135 页 | 21.02 MB | 1 年前3
共 1 条
- 1
相关搜索词













