You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Kubernetes version 1.13 and later the `CoreDNS` feature gate is removed and CoreDNS
49
-
is used by default.
50
-
51
-
In versions prior to 1.11 the Corefile will be **overwritten** by the one created during upgrade.
52
-
**You should save your existing ConfigMap if you have customized it.** You may re-apply your
53
-
customizations after the new ConfigMap is up and running.
54
-
55
-
If you are running CoreDNS in Kubernetes version 1.11 and later, during upgrade,
56
-
your existing Corefile will be retained.
49
+
## Upgrading CoreDNS
57
50
58
-
In Kubernetes version 1.21, support for `kube-dns` is removed from kubeadm.
51
+
You can check the version of CoreDNS that kubeadm installs for each version of
52
+
Kubernetes in the page
53
+
[CoreDNS version in Kubernetes](https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md).
59
54
60
-
## Upgrading CoreDNS
55
+
CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS
56
+
or use your own custom image.
57
+
There is a helpful [guideline and walkthrough](https://github.com/coredns/deployment/blob/master/kubernetes/Upgrading_CoreDNS.md)
58
+
available to ensure a smooth upgrade.
59
+
Make sure the existing CoreDNS configuration ("Corefile") is retained when
60
+
upgrading your cluster.
61
61
62
-
CoreDNS is available in Kubernetes since v1.9.
63
-
You can check the version of CoreDNS shipped with Kubernetes and the changes made to CoreDNS [here](https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md).
62
+
If you are upgrading your cluster using the `kubeadm` tool, `kubeadm`
63
+
can take care of retaining the existing CoreDNS configuration automatically.
64
64
65
-
CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image.
66
-
There is a helpful [guideline and walkthrough](https://github.com/coredns/deployment/blob/master/kubernetes/Upgrading_CoreDNS.md) available to ensure a smooth upgrade.
67
65
68
66
## Tuning CoreDNS
69
67
70
-
When resource utilisation is a concern, it may be useful to tune the configuration of CoreDNS. For more details, check out the
68
+
When resource utilisation is a concern, it may be useful to tune the
69
+
configuration of CoreDNS. For more details, check out the
71
70
[documentation on scaling CoreDNS](https://github.com/coredns/deployment/blob/master/kubernetes/Scaling_CoreDNS.md).
72
71
73
-
74
-
75
72
## {{% heading "whatsnext" %}}
76
73
77
-
78
74
You can configure [CoreDNS](https://coredns.io) to support many more use cases than
79
-
kube-dns by modifying the `Corefile`. For more information, see the
0 commit comments