90 lines
1.8 KiB
YAML
90 lines
1.8 KiB
YAML
replicaCount: 2
|
|
k8sAppLabelOverride: kube-dns
|
|
deployment:
|
|
name: coredns
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: kube-dns
|
|
service:
|
|
name: kube-dns
|
|
clusterIP: 10.96.0.10
|
|
selector:
|
|
k8s-app: kube-dns
|
|
serviceAccount:
|
|
create: false
|
|
name: coredns
|
|
rbac:
|
|
create: false
|
|
image:
|
|
repository: registry.k8s.io/coredns/coredns
|
|
tag: v1.14.7
|
|
priorityClassName: system-cluster-critical
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
tolerations:
|
|
- key: CriticalAddonsOnly
|
|
operator: Exists
|
|
- key: node-role.kubernetes.io/control-plane
|
|
effect: NoSchedule
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: odroid-h3
|
|
operator: In
|
|
values:
|
|
- enabled
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- labelSelector:
|
|
matchLabels:
|
|
k8s-app: kube-dns
|
|
topologyKey: kubernetes.io/hostname
|
|
podDisruptionBudget:
|
|
minAvailable: 1
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: kube-dns
|
|
resources:
|
|
limits:
|
|
cpu: null
|
|
memory: 170Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 70Mi
|
|
readinessProbe:
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
servers:
|
|
- zones:
|
|
- zone: .
|
|
use_tcp: true
|
|
port: 53
|
|
plugins:
|
|
- name: errors
|
|
- name: health
|
|
configBlock: |-
|
|
lameduck 5s
|
|
- name: ready
|
|
- name: kubernetes
|
|
parameters: cluster.local in-addr.arpa ip6.arpa
|
|
configBlock: |-
|
|
pods insecure
|
|
fallthrough in-addr.arpa ip6.arpa
|
|
ttl 30
|
|
- name: prometheus
|
|
parameters: :9153
|
|
- name: forward
|
|
parameters: . /etc/resolv.conf
|
|
configBlock: |-
|
|
max_concurrent 1000
|
|
- name: cache
|
|
parameters: 30
|
|
configBlock: |-
|
|
disable success cluster.local
|
|
disable denial cluster.local
|
|
- name: loop
|
|
- name: reload
|
|
- name: loadbalance
|