We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9b5fe commit b0e6a79Copy full SHA for b0e6a79
content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md
@@ -204,16 +204,8 @@ kubectl edit service -n kube-system kube-dns
204
205
Once the CoreDNS changes are applied you can delete the CoreDNS Pods:
206
207
-Obtain the Pod names:
208
-
209
-```shell
210
-kubectl get po -n kube-system | grep coredns
211
-```
212
213
-Delete a Pod with:
214
215
```shell
216
-kubectl delete po -n kube-system <pod-name>
+kubectl delete po -n kube-system -l k8s-app=kube-dns
217
```
218
219
New Pods with the updated CoreDNS configuration will be created.
0 commit comments