updating Pod DNS config example to use documentation IP address (#39169)
* updating Pod DNS config example to use documentation IP address * add this is an example in note * empty commitpull/39345/head
parent
4e4c238ebf
commit
f78e3bf0e5
|
@ -306,7 +306,7 @@ When the Pod above is created, the container `test` gets the following contents
|
|||
in its `/etc/resolv.conf` file:
|
||||
|
||||
```
|
||||
nameserver 1.2.3.4
|
||||
nameserver 192.0.2.1
|
||||
search ns1.svc.cluster-domain.example my.dns.search.suffix
|
||||
options ndots:2 edns0
|
||||
```
|
||||
|
|
|
@ -10,7 +10,7 @@ spec:
|
|||
dnsPolicy: "None"
|
||||
dnsConfig:
|
||||
nameservers:
|
||||
- 1.2.3.4
|
||||
- 192.0.2.1 # this is an example
|
||||
searches:
|
||||
- ns1.svc.cluster-domain.example
|
||||
- my.dns.search.suffix
|
||||
|
|
Loading…
Reference in New Issue