Skip to content

Commit

Permalink
Improve DNS documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tengqm committed Nov 30, 2017
1 parent 7dec42e commit 0d67f4e
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 310 deletions.
20 changes: 20 additions & 0 deletions docs/concepts/services-networking/custom-dns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Pod
metadata:
namespace: ns1
name: dns-example
spec:
containers:
- name: test
image: nginx
dnsPolicy: None
dnsConfig:
nameservers:
- "1.2.3.4"
searches:
- ns1.svc.cluster.local
- my.dns.search.suffix
options:
- name: ndots
value: 2
- name: edns0
Loading

0 comments on commit 0d67f4e

Please sign in to comment.