Initialize DNS Pod Service for ID Localization. (#16707)

Co-Authored-By: Giri Kuncoro <girikuncoro@users.noreply.github.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
Irvi Aini
2019-12-05 11:00:32 +07:00
committed by Kubernetes Prow Robot
parent 342958a0a2
commit 6450802fef
2 changed files with 288 additions and 0 deletions
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Pod
metadata:
namespace: default
name: dns-example
spec:
containers:
- name: test
image: nginx
dnsPolicy: "None"
dnsConfig:
nameservers:
- 1.2.3.4
searches:
- ns1.svc.cluster-domain.example
- my.dns.search.suffix
options:
- name: ndots
value: "2"
- name: edns0