Files
k/coredns/coredns-config.yaml
T
t.behrendt 5c4f6103d4
Deploy / deploy-coredns (push) Successful in 35s
Deploy / deploy-docker-registry-secret (push) Has been cancelled
chore(coredns): remove deprecated DNS servers (#77)
Reviewed-on: #77
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2026-08-11 07:17:34 +02:00

47 lines
877 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
data:
Corefile: |
t00n.de:53 {
errors
forward . 192.168.0.1
cache 300
reload
}
t000-n.de:53 {
errors
forward . 192.168.0.1
cache 300
reload
}
.:53 {
errors
health
ready
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
hosts /etc/coredns/NodeHosts {
ttl 60
reload 15s
fallthrough
}
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
import /etc/coredns/custom/*.override
}
import /etc/coredns/custom/*.server
NodeHosts: |
192.168.0.50 k3sh0
192.168.0.53 k3sh3