33 lines
886 B
YAML
33 lines
886 B
YAML
|
service:
|
||
|
clusterIP: 10.43.0.10
|
||
|
|
||
|
servers:
|
||
|
- zones:
|
||
|
- zone: .
|
||
|
port: 53
|
||
|
plugins:
|
||
|
- name: errors
|
||
|
# Serves a /health endpoint on :8080, required for livenessProbe
|
||
|
- name: health
|
||
|
configBlock: |-
|
||
|
lameduck 5s
|
||
|
# Serves a /ready endpoint on :8181, required for readinessProbe
|
||
|
- name: ready
|
||
|
# Required to query kubernetes API for data
|
||
|
- name: kubernetes
|
||
|
parameters: cluster.local in-addr.arpa ip6.arpa
|
||
|
configBlock: |-
|
||
|
pods insecure
|
||
|
fallthrough in-addr.arpa ip6.arpa
|
||
|
ttl 30
|
||
|
# Serves a /metrics endpoint on :9153, required for serviceMonitor
|
||
|
- name: prometheus
|
||
|
parameters: 0.0.0.0:9153
|
||
|
- name: forward
|
||
|
parameters: . 1.1.1.1 1.0.0.1
|
||
|
- name: cache
|
||
|
parameters: 30
|
||
|
- name: loop
|
||
|
- name: reload
|
||
|
- name: loadbalance
|