add coredns update

This commit is contained in:
ducoterra
2020-02-02 20:27:38 -05:00
parent 4337467470
commit 4cd89e6632
2 changed files with 39 additions and 0 deletions

30
k8s/coredns.yaml Normal file
View File

@@ -0,0 +1,30 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
data:
Corefile: |
.:53 {
errors
health
ready
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
}
hosts /etc/coredns/NodeHosts {
reload 1s
fallthrough
}
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}
ducoterra.net:53 {
forward . 3.14.3.100
}