Last active
October 25, 2019 08:21
-
-
Save dojci/df5d3a5487a1fe9a45c239ad8d3ccdad to your computer and use it in GitHub Desktop.
Updated CoreDNS config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: coredns | |
namespace: kube-system | |
data: | |
Corefile: |- | |
.:53 { | |
errors | |
health | |
loadbalance round_robin | |
prometheus 0.0.0.0:9153 | |
loop | |
kubernetes cluster.local in-addr.arpa ip6.arpa { | |
pods insecure | |
upstream /etc/resolv.conf | |
fallthrough in-addr.arpa ip6.arpa | |
} | |
forward . /etc/resolv.conf { | |
force_tcp | |
max_fails 0 | |
} | |
cache 3600 { | |
success 19968 | |
prefetch 1 10m 80% | |
} | |
} | |
amazonaws.com.:53 { | |
errors | |
loadbalance round_robin | |
prometheus 0.0.0.0:9153 | |
loop | |
forward . 1.1.1.1 8.8.8.8 9.9.9.9 { | |
force_tcp | |
} | |
cache 3600 { | |
success 19968 | |
prefetch 1 10m 80% | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment