mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01: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
|
||||
~~~
|
||||
|
||||
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 -
|
||||
$ 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
|
||||
log stdout
|
||||
health
|
||||
kubernetes CLUSTER_DOMAIN {
|
||||
cidrs SERVICE_CIDR
|
||||
}
|
||||
kubernetes CLUSTER_DOMAIN SERVICE_CIDR
|
||||
proxy . /etc/resolv.conf
|
||||
cache 30
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue