kubeadm: add notes about deprecating kube-dns usage in 1.18 (#18851)

* kubeadm: add notes about deprecating kube-dns usage in 1.18

* implementation-details: update notes about DNS
This commit is contained in:
Lubomir I. Ivanov
2020-02-07 21:29:45 +02:00
committed by GitHub
parent 6909798afd
commit fb1c0e8b77
4 changed files with 17 additions and 17 deletions
@@ -63,6 +63,10 @@ In Kubernetes 1.11, CoreDNS has graduated to General Availability (GA)
and is installed by default.
{{< /note >}}
{{< warning >}}
In Kubernetes 1.18, kube-dns usage with kubeadm has been deprecated and will be removed in a future version.
{{< /warning >}}
To install kube-dns on versions prior to 1.13, set the `CoreDNS` feature gate
value to `false`:
@@ -72,9 +76,9 @@ kubeadm init --feature-gates=CoreDNS=false
For versions 1.13 and later, follow the guide outlined [here](/docs/reference/setup-tools/kubeadm/kubeadm-init-phase#cmd-phase-addon).
## Upgrading CoreDNS
## Upgrading CoreDNS
CoreDNS is available in Kubernetes since v1.9.
CoreDNS is available in Kubernetes since v1.9.
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).
CoreDNS can be upgraded manually in case you want to only upgrade CoreDNS or use your own custom image.