fix options

This commit is contained in:
Bowei Du 2017-11-16 16:44:02 -08:00
parent 77610bba01
commit eb79043a77
1 changed files with 1 additions and 3 deletions

View File

@ -55,7 +55,6 @@ The fields of `DnsParams` are:
* `search` is a list of additional search path subdomains. On `resolv.conf` * `search` is a list of additional search path subdomains. On `resolv.conf`
platforms, these are entries to the `search` setting. These domains will be platforms, these are entries to the `search` setting. These domains will be
appended to the existing search path. appended to the existing search path.
* `options` that are an OS-dependent list of (name, value) options. These values * `options` that are an OS-dependent list of (name, value) options. These values
are NOT expected to be generally portable across platforms. For containers that are NOT expected to be generally portable across platforms. For containers that
use `/etc/resolv.conf` style configuration, these correspond to the parameters use `/etc/resolv.conf` style configuration, these correspond to the parameters
@ -109,8 +108,7 @@ The pod will get the following `/etc/resolv.conf`:
```bash ```bash
nameserver 1.2.3.4 nameserver 1.2.3.4
search ns1.svc.cluster.local my.dns.search.suffix search ns1.svc.cluster.local my.dns.search.suffix
options ndots:2 options ndots:2 edns0
options edns0
``` ```
## Overriding `ndots` ## Overriding `ndots`