mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
Update for upcoming 1.0.0 (#10)
This commit is contained in:
parent
9a3a1a292b
commit
559db1209e
2 changed files with 5 additions and 4 deletions
|
@ -28,9 +28,12 @@ $ ./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.
|
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 -
|
$ ./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
|
$ kubectl delete --namespace=kube-system deployment kube-dns
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Note that the CIDR's netmask needs to be a multiple of 8.
|
||||||
|
|
|
@ -9,9 +9,7 @@ data:
|
||||||
errors
|
errors
|
||||||
log stdout
|
log stdout
|
||||||
health
|
health
|
||||||
kubernetes CLUSTER_DOMAIN {
|
kubernetes CLUSTER_DOMAIN SERVICE_CIDR
|
||||||
cidrs SERVICE_CIDR
|
|
||||||
}
|
|
||||||
proxy . /etc/resolv.conf
|
proxy . /etc/resolv.conf
|
||||||
cache 30
|
cache 30
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue