Skip to content

Commit e0f5e77

Browse files
authored
Merge pull request #20477 from prasadkatti/patch-10
Update 'kubeadm init phase addon' doc section
2 parents 355c7f2 + 9264988 commit e0f5e77

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

content/en/docs/reference/setup-tools/kubeadm/kubeadm-init-phase.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,9 @@ To use kube-dns instead of CoreDNS you have to pass a configuration file:
139139
```bash
140140
# for installing a DNS addon only
141141
kubeadm init phase addon coredns --config=someconfig.yaml
142-
# for creating a complete control plane node
143-
kubeadm init --config=someconfig.yaml
144-
# for listing or pulling images
145-
kubeadm config images list/pull --config=someconfig.yaml
146-
# for upgrades
147-
kubeadm upgrade apply --config=someconfig.yaml
148142
```
149143

150-
The file has to contain a [`DNS`](https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2#DNS) field in[`ClusterConfiguration`](https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2#ClusterConfiguration)
144+
The file has to contain a [`dns`](https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2#DNS) field in[`ClusterConfiguration`](https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2#ClusterConfiguration)
151145
and also a type for the addon - `kube-dns` (default value is `CoreDNS`).
152146

153147
```yaml

0 commit comments

Comments
 (0)