mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
parent
fe1e658816
commit
00c1933046
1 changed files with 7 additions and 0 deletions
|
@ -27,3 +27,10 @@ In the best case scenario, all that's needed to replace Kube-DNS are these two c
|
|||
$ ./deploy.sh 10.3.0.0/24 | kubectl apply -f -
|
||||
$ kubectl delete --namespace=kube-system deployment kube-dns
|
||||
~~~
|
||||
|
||||
Kubernetes 1.6 uses Role Based Access Control (RBAC). The following example uses the 1.6 yaml tamplate to replace Kube-DNS and add the RBAC needed for coredns to access the API.
|
||||
|
||||
~~~
|
||||
$ ./deploy.sh 10.3.0.0/24 cluster.local coredns.1.6.yaml.sed | kubectl apply -f -
|
||||
$ kubectl delete --namespace=kube-system deployment kube-dns
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue