-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoreDNS feature documentation #6463
Changes from 4 commits
4161d15
dd873b8
133c522
f73f674
abf3bf7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
approvers: | ||
- johnbelamaric | ||
title: Using CoreDNS for Service Discovery | ||
--- | ||
|
||
{% include feature-state-alpha.md %} | ||
|
||
{% capture overview %} | ||
This page describes how to enable CoreDNS instead of kube-dns for service | ||
discovery. | ||
{% endcapture %} | ||
|
||
{% capture prerequisites %} | ||
* Kubernetes version 1.9 and above. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace this line with:
The |
||
{% 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 will install CoreDNS instead of kube-dns. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace with:
|
||
|
||
{% endcapture %} | ||
|
||
{% capture whatsnext %} | ||
|
||
[CoreDNS](https://coredns.io) may be configured to support many more use cases than | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace this paragraph with:
So:
|
||
kube-dns by modifying the `Corefile`. See the CoreDNS [site](https://coredns.io) for some | ||
[examples](https://coredns.io/2017/05/08/custom-dns-entries-for-kubernetes/). | ||
|
||
{% endcapture %} | ||
|
||
{% include templates/task.md %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include in the title block: