-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
I wanted to enable the logging of all DNS requests that coredns handles but exclude only CLUSTER.LOCAL domains from logging? How can I do with this configmap of Kubernetes?
apiVersion: v1
data:
Corefile: |
.:53 {
errors
log
health {
lameduck 5s
}
ready
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
forward . /etc/resolv.conf {
prefer_udp
}
cache 30
loop
reload
loadbalance
}