k3s/cluster/addons/dns
Bowei Du 1c223c8e1b Update kube-dns version to 1.14.2
Changes:

- Support kube-master-url flag without kubeconfig
- Fix concurrent R/Ws in dns.go
- Fix confusing logging when initialize server
- Fix printf in cmd/kube-dns/app/server.go
- Fix version on startup and --version flag
- Support specifying port number for nameserver in stubDomains
2017-05-11 12:29:00 -07:00
..
Makefile
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00
README.md Update DNS readme to point to the new code repository 2017-01-06 13:08:59 -08:00
kubedns-cm.yaml Adds default kube-dns configmap 2017-03-08 15:47:32 -08:00
kubedns-controller.yaml.base Update kube-dns version to 1.14.2 2017-05-11 12:29:00 -07:00
kubedns-controller.yaml.in Update kube-dns version to 1.14.2 2017-05-11 12:29:00 -07:00
kubedns-controller.yaml.sed Update kube-dns version to 1.14.2 2017-05-11 12:29:00 -07:00
kubedns-sa.yaml fix kubedns-sa.yaml missing "namespace: kube-system" value 2017-04-07 03:52:51 +08:00
kubedns-svc.yaml.base Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
kubedns-svc.yaml.in Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
kubedns-svc.yaml.sed Adds the new addon-manager labels on cluster addon templates 2017-02-24 16:53:12 -08:00
transforms2salt.sed Remove FEDERATIONS_DOMAIN_MAP references 2017-03-15 23:06:16 +05:30
transforms2sed.sed Remove FEDERATIONS_DOMAIN_MAP references 2017-03-15 23:06:16 +05:30

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 Deployment and Service templates

This directory contains the base UNDERSCORE templates that can be used to generate the kubedns-controller.yaml.in and kubedns.controller.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 'kubedns-controller.yaml'

Base Template files

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

kubedns-controller.yaml.base
kubedns-svc.yaml.base

Generated Salt files

kubedns-controller.yaml.in
kubedns-svc.yaml.in

Generated Sed files

kubedns-controller.yaml.sed
kubedns-svc.yaml.sed

Analytics