Skip to content

Commit cd9b5fe

Browse files
authored
Merge pull request #48978 from aivantsov/patch-1
Simplify kube-proxy refresh once the kube-proxy ConfigMap is updated
2 parents fc3f183 + 672c2a7 commit cd9b5fe

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

+2-8
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)