Keep manifest consistent with kubeadm (#69)

* change label to kube-dns

* typo
This commit is contained in:
Sandeep Rajan 2018-04-12 10:44:40 -04:00 committed by Chris O'Haver
parent 39c9f7ed76
commit fef283bc9e
2 changed files with 8 additions and 5 deletions

View file

@ -29,6 +29,9 @@ $ ./deploy.sh | kubectl apply -f -
$ kubectl delete --namespace=kube-system deployment kube-dns
~~~
NOTE: It is recommended to delete the kube-dns deployment. Otherwise, if both CoreDNS and kube-dns are running, queries may randomly hit either
CoreDNS or kube-dns.
For non-RBAC deployments, you'll need to edit the resulting yaml before applying it:
1. Remove the line `serviceAccountName: coredns` from the `Deployment` section.
2. Remove the `ServiceAccount`, `ClusterRole`, and `ClusterRoleBinding` sections.