-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CoreDNS feature documentation (#6463)
* Initial placeholder PR for CoreDNS feature documentation * Remove from admin, add content * Fix missing endcapture * Add to tasks.yml * Review feedback
- Loading branch information
1 parent
7c7cf17
commit 16f6b18
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
approvers: | ||
- johnbelamaric | ||
title: Using CoreDNS for Service Discovery | ||
min-kubernetes-server-version: v1.9 | ||
--- | ||
|
||
{% include feature-state-alpha.md %} | ||
|
||
{% capture overview %} | ||
This page describes how to enable CoreDNS instead of kube-dns for service | ||
discovery. | ||
{% endcapture %} | ||
|
||
{% capture prerequisites %} | ||
{% include task-tutorial-prereqs.md %} | ||
{% endcapture %} | ||
|
||
{% capture steps %} | ||
|
||
## Installing CoreDNS with kubeadm | ||
|
||
In Kubernetes 1.9, [CoreDNS](https://coredns.io) is available as an alpha feature and | ||
may be installed by setting the `CoreDNS` feature gate to `true` during `kubeadm init`: | ||
|
||
``` | ||
kubeadm init --feature-gates=CoreDNS=true | ||
``` | ||
|
||
This installs CoreDNS instead of kube-dns. | ||
|
||
{% endcapture %} | ||
|
||
{% capture whatsnext %} | ||
|
||
You can configure [CoreDNS](https://coredns.io) to support many more use cases than | ||
kube-dns by modifying the `Corefile`. For more information, see the | ||
[CoreDNS site]https://coredns.io/2017/05/08/custom-dns-entries-for-kubernetes/). | ||
|
||
{% endcapture %} | ||
|
||
{% include templates/task.md %} |