Skip to content

Commit

Permalink
kubeadm-alpha: CoreDNS related changes
Browse files Browse the repository at this point in the history
1. Remove `..kube-dns.md` in favor of `..coredns.md`
This is a side-effect of renaming the sub-command property.
2. Update info text about using the `CoreDNS` feature gate
3. Add note that CoreDNS is the default DNS in 1.11.
  • Loading branch information
neolit123 committed May 24, 2018
1 parent 5647835 commit 21f1ad1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 87 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Installs the CoreDNS addon to a Kubernetes cluster

### Synopsis

Installs the CoreDNS addon components via the API server. Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.

Alpha Disclaimer: this command is currently alpha.

```
kubeadm alpha phase addon coredns [flags]
```

### Options

```
--config string Path to a kubeadm config file. WARNING: Usage of a configuration file is experimental
--feature-gates string A set of key=value pairs that describe feature gates for various features.Options are:
Auditing=true|false (ALPHA - default=false)
CoreDNS=true|false (default=true)
DynamicKubeletConfig=true|false (ALPHA - default=false)
SelfHosting=true|false (ALPHA - default=false)
StoreCertsInSecrets=true|false (ALPHA - default=false)
-h, --help help for coredns
--image-repository string Choose a container registry to pull control plane images from (default "k8s.gcr.io")
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
--kubernetes-version string Choose a specific Kubernetes version for the control plane (default "stable-1.10")
--service-cidr string The range of IP address used for service VIPs (default "10.96.0.0/12")
--service-dns-domain string Alternative domain for services (default "cluster.local")
```

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,14 @@ Alternatively, you can use [kubeadm config](kubeadm-config.md).
You can install all the available addons with the `all` subcommand, or
install them selectively.

Please note that if kubeadm is invoked with `--feature-gates=CoreDNS=true`, [CoreDNS](https://coredns.io/) is installed instead of `kube-dns`.
{{< note >}}
**Note:** If `kubeadm` is invoked with `--feature-gates=CoreDNS=false`, kube-dns is installed.
{{< /note >}}

{{< tabs name="tab-addon" >}}
{{< tab name="all" include="generated/kubeadm_alpha_phase_addon_all.md" />}}
{{< tab name="kube-proxy" include="generated/kubeadm_alpha_phase_addon_kube-proxy.md" />}}
{{< tab name="kube-dns" include="generated/kubeadm_alpha_phase_addon_kube-dns.md" />}}
{{< tab name="coredns" include="generated/kubeadm_alpha_phase_addon_coredns.md" />}}
{{< /tabs >}}


Expand Down

0 comments on commit 21f1ad1

Please sign in to comment.