Skip to content

Instantly share code, notes, and snippets.

@dojci
Last active October 24, 2019 14:04
Show Gist options
  • Save dojci/3744b1ac1f71a88b81bac3a4b017704c to your computer and use it in GitHub Desktop.
Save dojci/3744b1ac1f71a88b81bac3a4b017704c to your computer and use it in GitHub Desktop.
Kops CoreDNS default config
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: EnsureExists
data:
Corefile: |
.:53 {
errors
health
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
upstream
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
forward . /etc/resolv.conf
loop
cache 30
loadbalance
reload
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment