k3s/cluster/addons/dns
Zihong Zheng af84698479 Update kube-dns to Version 1.14.9. Major changes:
- Fix for kube-dns returns NXDOMAIN when not yet synced with
apiserver.
- Don't generate empty record for externalName service.
- Add validation for upstreamNameserver port.
- Update go version to 1.9.3.
2018-03-29 10:54:57 -07:00
..
Makefile
OWNERS
README.md
coredns.yaml.base remove anti-affinity 2018-03-01 08:40:48 -05:00
coredns.yaml.in remove anti-affinity 2018-03-01 08:40:48 -05:00
coredns.yaml.sed remove anti-affinity 2018-03-01 08:40:48 -05:00
kube-dns.yaml.base Update kube-dns to Version 1.14.9. Major changes: 2018-03-29 10:54:57 -07:00
kube-dns.yaml.in Update kube-dns to Version 1.14.9. Major changes: 2018-03-29 10:54:57 -07:00
kube-dns.yaml.sed Update kube-dns to Version 1.14.9. Major changes: 2018-03-29 10:54:57 -07:00
transforms2salt.sed
transforms2sed.sed

README.md

kube-dns

kube-dns schedules DNS Pods and Service on the cluster, other pods in cluster can use the DNS Services IP to resolve DNS names.

Manually scale kube-dns Deployment

kube-dns creates only one DNS Pod by default. If dns-horizontal-autoscaler is not enabled, you may need to manually scale kube-dns Deployment.

Please use below kubectl scale command to scale:

kubectl --namespace=kube-system scale deployment kube-dns --replicas=<NUM_YOU_WANT>

Do not use kubectl edit to modify kube-dns Deployment object if it is controlled by Addon Manager. Otherwise the modifications will be clobbered, in addition the replicas count for kube-dns Deployment will be reset to 1. See Cluster add-ons README and #36411 for reference.

kube-dns addon templates

This directory contains the base UNDERSCORE templates that can be used to generate the kube-dns.yaml.in needed in Salt format.

Due to a varied preference in templating language choices, the transform Makefile in this directory should be enhanced to generate all required formats from the base underscore templates.

N.B.: When you add a parameter you should also update the various scripts that supply values for your new parameter. Here is one way you might find those scripts:

cd kubernetes && git grep 'kube-dns.yaml'

Base Template files

These are the authoritative base templates. Run 'make' to generate the Salt and Sed yaml templates from these.

kube-dns.yaml.base

Generated Salt files

kube-dns.yaml.in

Generated Sed files

kube-dns.yaml.sed

Analytics