Update README.md (#5)

Add 1.6 example to README
This commit is contained in:
Chris O'Haver 2017-04-24 10:58:56 -04:00 committed by John Belamaric
parent fe1e658816
commit 00c1933046

View file

@ -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
~~~