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
coredns: update notes in administer-cluster/coredns.md
CoreDNS is installed by default in 1.11.
Add notes on how to install kube-dns instead.
Update notes about CoreDNS->CoreDNS upgrades as in 1.11
the Corefile is retained.
Add example on upgrading from kube-dns to CoreDNS.
This page describes how to enable CoreDNS instead of kube-dns for service
13
-
discovery.
10
+
This page describes the CoreDNS upgrade process and how to install kube-dns instead of CoreDNS.
14
11
{{% /capture %}}
15
12
16
13
{{% capture prerequisites %}}
@@ -19,32 +16,34 @@ discovery.
19
16
20
17
{{% capture steps %}}
21
18
22
-
## Installing CoreDNS with kubeadm
23
-
24
-
In Kubernetes 1.9, [CoreDNS](https://coredns.io) is available as an alpha feature, and
25
-
in Kubernetes 1.10 it is available as a beta feature. In either case, you may install
26
-
it during cluster creation by setting the `CoreDNS` feature gate to `true` during `kubeadm init`:
19
+
## Installing kube-dns with kubeadm
27
20
21
+
In Kubernetes 1.11, [CoreDNS](https://coredns.io) has graduated to General Availability (GA)
22
+
and is installed by default. To install kube-dns instead, set the `CoreDNS` feature gate
23
+
value to `false`:
28
24
```
29
-
kubeadm init --feature-gates=CoreDNS=true
25
+
kubeadm init --feature-gates=CoreDNS=false
30
26
```
31
27
32
-
This installs CoreDNS instead of kube-dns.
33
-
34
28
## Upgrading an Existing Cluster with kubeadm
35
29
36
-
In Kubernetes 1.10, you can also move to CoreDNS when you use `kubeadm` to upgrade
30
+
In Kubernetes version 1.10 and later, you can also move to CoreDNS when you use `kubeadm` to upgrade
37
31
a cluster that is using `kube-dns`. In this case, `kubeadm` will generate the CoreDNS configuration
38
32
("Corefile") based upon the `kube-dns` ConfigMap, preserving configurations for federation,
39
33
stub domains, and upstream name server.
40
34
41
-
Note that if you are running CoreDNS in your cluster already, prior to upgrade, your existing Corefile will be
42
-
**overwritten** by the one created during upgrade. **You should save your existing ConfigMap
43
-
if you have customized it.** You may re-apply your customizations after the new ConfigMap is
44
-
up and running.
35
+
If you are moving from kube-dns to CoreDNS, make sure to set the `CoreDNS` feature gate to `true`
36
+
during an upgrade. For example, here is what a `v1.11.0` upgrade would look like:
0 commit comments