Skip to content

Commit e2f703f

Browse files
Update nodes.md (#36522)
* Update nodes.md In the previous doc, the doc is "用户可以手动将具有 `NoExecute` 或 `NoSchedule` 效果的 `node kubernetes.io/out-of-service` ", please note that it is `node kubernetes.io/out-of-service`, there is a space between "node" and "kubernetes.io/out-of-service", after read the related doc, I think that this should be "node.kubernetes.io/out-of-service", this is defined node label in k8s. Please see https://kubernetes.io/docs/reference/labels-annotations-taints/#node-kubernetes-io-out-of-service * Update nodes.md Fix line 878 per comment
1 parent 8c78ad7 commit e2f703f

File tree

1 file changed

+3
-4
lines changed
  • content/zh-cn/docs/concepts/architecture

1 file changed

+3
-4
lines changed

content/zh-cn/docs/concepts/architecture/nodes.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,8 @@ these pods will be stuck in terminating status on the shutdown node forever.
875875
如果原来的已关闭节点没有被恢复,那些在已关闭节点上的 Pod 将永远滞留在终止状态。
876876

877877
<!--
878-
To mitigate the above situation, a user can manually add the taint `node
879-
kubernetes.io/out-of-service` with either `NoExecute` or `NoSchedule` effect to
880-
a Node marking it out-of-service.
878+
To mitigate the above situation, a user can manually add the taint `node.kubernetes.io/out-of-service` with either `NoExecute`
879+
or `NoSchedule` effect to a Node marking it out-of-service.
881880
If the `NodeOutOfServiceVolumeDetach` [feature gate](/docs/reference/
882881
command-line-tools-reference/feature-gates/) is enabled on
883882
`kube-controller-manager`, and a Node is marked out-of-service with this taint, the
@@ -887,7 +886,7 @@ immediately. This allows the Pods on the out-of-service node to recover quickly
887886
different node.
888887
-->
889888
为了缓解上述情况,用户可以手动将具有 `NoExecute``NoSchedule` 效果的
890-
`node kubernetes.io/out-of-service` 污点添加到节点上,标记其无法提供服务。
889+
`node.kubernetes.io/out-of-service` 污点添加到节点上,标记其无法提供服务。
891890
如果在 `kube-controller-manager` 上启用了 `NodeOutOfServiceVolumeDetach`
892891
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
893892
并且节点被通过污点标记为无法提供服务,如果节点 Pod 上没有设置对应的容忍度,

0 commit comments

Comments
 (0)