在kubernetes生产环境coredns #
.:53 {
errors
log
health
reload
kubernetes cluster.local. in-addr.arpa ip6.arpa {
pods insecure
upstream 10.40.0.53 10.40.0.54
fallthrough in-addr.arpa ip6.arpa
}
autopath @kubernetes
prometheus :9153
forward . 10.40.0.53 10.40.0.54
cache 30
}