Skip to content

Commit

Permalink
Improve DNS documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tengqm committed Dec 4, 2017
1 parent 7dec42e commit 962b116
Show file tree
Hide file tree
Showing 5 changed files with 387 additions and 297 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 962b116

Please sign in to comment.