Skip to content

Commit 2d81443

Browse files
authored
Merge pull request #52164 from my-git9/npa-26633
[zh-cn]sync debug-cluster/_index.md
2 parents f9636ac + 4379e19 commit 2d81443

File tree

1 file changed

+1
-3
lines changed
  • content/zh-cn/docs/tasks/debug/debug-cluster

1 file changed

+1
-3
lines changed

content/zh-cn/docs/tasks/debug/debug-cluster/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ the events that show the node is NotReady, and also notice that the pods are no
8181
或者找出为什么 Pod 不会调度到节点上。与 Pod 一样,你可以使用 `kubectl describe node`
8282
`kubectl get node -o yaml` 来检索有关节点的详细信息。
8383
例如,如果节点关闭(与网络断开连接,或者 kubelet 进程挂起并且不会重新启动等),
84-
你将看到以下内容。请注意显示节点为 NotReady 的事件,并注意 Pod 不再运行(它们在 NotReady 状态五分钟后被驱逐)。
84+
你将看到以下内容。请注意显示节点为 `NotReady` 的事件,并注意 Pod 不再运行(它们在 `NotReady` 状态五分钟后被驱逐)。
8585

8686
```shell
8787
kubectl get nodes
@@ -107,7 +107,6 @@ Labels: beta.kubernetes.io/arch=amd64
107107
kubernetes.io/arch=amd64
108108
kubernetes.io/hostname=kube-worker-1
109109
kubernetes.io/os=linux
110-
Annotations: kubeadm.alpha.kubernetes.io/cri-socket: /run/containerd/containerd.sock
111110
node.alpha.kubernetes.io/ttl: 0
112111
volumes.kubernetes.io/controller-managed-attach-detach: true
113112
CreationTimestamp: Thu, 17 Feb 2022 16:46:30 -0500
@@ -180,7 +179,6 @@ apiVersion: v1
180179
kind: Node
181180
metadata:
182181
annotations:
183-
kubeadm.alpha.kubernetes.io/cri-socket: /run/containerd/containerd.sock
184182
node.alpha.kubernetes.io/ttl: "0"
185183
volumes.kubernetes.io/controller-managed-attach-detach: "true"
186184
creationTimestamp: "2022-02-17T21:46:30Z"

0 commit comments

Comments
 (0)