mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
Update k8s manifests (#15)
* remove ref to deleted file, match proposed manifest in kubeadm pr * classless cidrs not in 0.9.9
This commit is contained in:
parent
f78ade71d7
commit
b997ad78fe
2 changed files with 7 additions and 12 deletions
|
@ -28,12 +28,5 @@ $ ./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.
|
||||
-Note that the CIDR's netmask needs to be a multiple of 8.
|
||||
|
||||
~~~
|
||||
$ ./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
|
||||
~~~
|
||||
|
||||
Note that the CIDR's netmask needs to be a multiple of 8.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue