mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02: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 -
|
$ ./deploy.sh 10.3.0.0/24 | kubectl apply -f -
|
||||||
$ kubectl delete --namespace=kube-system deployment kube-dns
|
$ 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…
Add table
Add a link
Reference in a new issue