From 672c2a70ff163ca795e3838b3524c64b124cd096 Mon Sep 17 00:00:00 2001 From: Andrei Ivantsov Date: Sun, 8 Dec 2024 17:49:15 +0100 Subject: [PATCH] Simplify kube-proxy refresh once the `kube-proxy` ConfigMap is updated --- .../administer-cluster/kubeadm/kubeadm-reconfigure.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md index 0db86847291c3..c0d4cca6eb759 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md @@ -173,16 +173,10 @@ The configuration is located under the `data.config.conf` key. Once the `kube-proxy` ConfigMap is updated, you can restart all kube-proxy Pods: -Obtain the Pod names: +Delete the Pods with: ```shell -kubectl get po -n kube-system | grep kube-proxy -``` - -Delete a Pod with: - -```shell -kubectl delete po -n kube-system +kubectl delete po -n kube-system -l k8s-app=kube-proxy ``` New Pods that use the updated ConfigMap will be created.