File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
content/en/docs/tasks/administer-cluster/kubeadm Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -202,14 +202,12 @@ kubectl edit service -n kube-system kube-dns
202
202
203
203
#### Reflecting the CoreDNS changes
204
204
205
- Once the CoreDNS changes are applied you can delete the CoreDNS Pods :
205
+ Once the CoreDNS changes are applied you can restart the CoreDNS deployment :
206
206
207
207
``` shell
208
- kubectl delete po -n kube-system -l k8s-app=kube-dns
208
+ kubectl rollout restart deployment -n kube-system coredns
209
209
```
210
210
211
- New Pods with the updated CoreDNS configuration will be created.
212
-
213
211
{{< note >}}
214
212
kubeadm does not allow CoreDNS configuration during cluster creation and upgrade.
215
213
This means that if you execute ` kubeadm upgrade apply ` , your changes to the CoreDNS
You can’t perform that action at this time.
0 commit comments