Browse Source
Merge pull request #2941 from amaya382/fix-dns-doc
Fix default value for dns_mode on the document
pull/2858/merge
Rong Zhang
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
docs/dns-stack.md
|
@ -52,13 +52,13 @@ You can modify how Kubespray sets up DNS for your cluster with the variables ``d |
|
|
## dns_mode |
|
|
## dns_mode |
|
|
``dns_mode`` configures how Kubespray will setup cluster DNS. There are four modes available: |
|
|
``dns_mode`` configures how Kubespray will setup cluster DNS. There are four modes available: |
|
|
|
|
|
|
|
|
#### dnsmasq_kubedns (default) |
|
|
|
|
|
|
|
|
#### dnsmasq_kubedns |
|
|
This installs an additional dnsmasq DaemonSet which gives more flexibility and lifts some |
|
|
This installs an additional dnsmasq DaemonSet which gives more flexibility and lifts some |
|
|
limitations (e.g. number of nameservers). Kubelet is instructed to use dnsmasq instead of kubedns/skydns. |
|
|
limitations (e.g. number of nameservers). Kubelet is instructed to use dnsmasq instead of kubedns/skydns. |
|
|
It is configured to forward all DNS queries belonging to cluster services to kubedns/skydns. All |
|
|
It is configured to forward all DNS queries belonging to cluster services to kubedns/skydns. All |
|
|
other queries are forwardet to the nameservers found in ``upstream_dns_servers`` or ``default_resolver`` |
|
|
other queries are forwardet to the nameservers found in ``upstream_dns_servers`` or ``default_resolver`` |
|
|
|
|
|
|
|
|
#### kubedns |
|
|
|
|
|
|
|
|
#### kubedns (default) |
|
|
This does not install the dnsmasq DaemonSet and instructs kubelet to directly use kubedns/skydns for |
|
|
This does not install the dnsmasq DaemonSet and instructs kubelet to directly use kubedns/skydns for |
|
|
all queries. |
|
|
all queries. |
|
|
|
|
|
|
|
|