Skip to content

Commit d60f07b

Browse files
authored
Merge pull request #36357 from kinzhi/kinzhi206
[zh]Update troubleshooting-kubeadm.md
2 parents 79a3b7c + b64a243 commit d60f07b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh-cn/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ A known solution is to patch the kube-proxy DaemonSet to allow scheduling it on
682682
nodes regardless of their conditions, keeping it off of other nodes until their initial guarding
683683
conditions abate:
684684
```
685-
kubectl -n kube-system patch ds kube-proxy -p='{ "spec": { "template": { "spec": { "tolerations": [ { "key": "CriticalAddonsOnly", "operator": "Exists" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/master" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/control-plane" } ] } } } }'
685+
kubectl -n kube-system patch ds kube-proxy -p='{ "spec": { "template": { "spec": { "tolerations": [ { "key": "CriticalAddonsOnly", "operator": "Exists" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/control-plane" } ] } } } }'
686686
```
687687

688688
The tracking issue for this problem is [here](https://github.com/kubernetes/kubeadm/issues/1027).
@@ -703,7 +703,7 @@ proxier.go:340] invalid nodeIP, initializing kube-proxy with 127.0.0.1 as nodeIP
703703
而不管它们的条件如何,将其与其他节点保持隔离,直到它们的初始保护条件消除:
704704

705705
```shell
706-
kubectl -n kube-system patch ds kube-proxy -p='{ "spec": { "template": { "spec": { "tolerations": [ { "key": "CriticalAddonsOnly", "operator": "Exists" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/master" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/control-plane" } ] } } } }'
706+
kubectl -n kube-system patch ds kube-proxy -p='{ "spec": { "template": { "spec": { "tolerations": [ { "key": "CriticalAddonsOnly", "operator": "Exists" }, { "effect": "NoSchedule", "key": "node-role.kubernetes.io/control-plane" } ] } } } }'
707707
```
708708

709709
此问题的跟踪[在这里](https://github.com/kubernetes/kubeadm/issues/1027)。

0 commit comments

Comments
 (0)