Skip to content

Commit 672c2a7

Browse files
authored
Simplify kube-proxy refresh once the kube-proxy ConfigMap is updated
1 parent 2598ffc commit 672c2a7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,10 @@ The configuration is located under the `data.config.conf` key.
173173

174174
Once the `kube-proxy` ConfigMap is updated, you can restart all kube-proxy Pods:
175175

176-
Obtain the Pod names:
176+
Delete the Pods with:
177177

178178
```shell
179-
kubectl get po -n kube-system | grep kube-proxy
180-
```
181-
182-
Delete a Pod with:
183-
184-
```shell
185-
kubectl delete po -n kube-system <pod-name>
179+
kubectl delete po -n kube-system -l k8s-app=kube-proxy
186180
```
187181

188182
New Pods that use the updated ConfigMap will be created.

0 commit comments

Comments
 (0)