k3s/pkg/apis/componentconfig
Kubernetes Submit Queue 3bc575c91f Merge pull request #33550 from rtreffer/kubelet-allow-multiple-dns-server
Automatic merge from submit-queue

Allow multipe DNS servers as comma-seperated argument for kubelet --dns

This PR explores how kubectls "--dns" could be extended to specify multiple DNS servers for in-cluster PODs. Testing on the local libvirt-coreos cluster shows that multiple DNS server are injected without issues.

Specifying multiple DNS servers increases resilience against
- Packet drops
- Single server failure

I am debugging services that do 50+ DNS requests for a single incoming interactive request, thus highly increase the chance of a slowdown (+5s) due to a single packet drop. Switching to two DNS servers will reduce the impact of the issues (roughly +1s on glibc, 0s on musl, error-rate goes down to error-rate^2).

Note that there is no need to change any runtime related code as far as I know. In the case of "default" dns the /etc/resolv.conf is parsed and multiple DNS server are send to the backend anyway. This only adds the same capability for the clusterFirst case.

I've heard from @thockin that multiple DNS entries are somehow considered. I've no idea what was considered, though. This is what I would like to see for our production use, though.

```release-note
NONE
```
2017-02-15 12:45:32 -08:00
..
install separate announce factories 2017-01-23 08:02:14 -05:00
v1alpha1 Merge pull request #33550 from rtreffer/kubelet-allow-multiple-dns-server 2017-02-15 12:45:32 -08:00
BUILD remove api to util dependency hiding types 2017-01-25 08:28:28 -05:00
OWNERS adding approvers for componentconfig 2017-02-06 16:05:53 -08:00
doc.go stop generating openapi schemas for internal types 2016-12-09 02:41:45 -05:00
helpers.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
helpers_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
register.go switch admission serialized config to an apiserver type 2017-02-06 11:38:08 -05:00
types.go Merge pull request #33550 from rtreffer/kubelet-allow-multiple-dns-server 2017-02-15 12:45:32 -08:00
zz_generated.deepcopy.go Merge pull request #33550 from rtreffer/kubelet-allow-multiple-dns-server 2017-02-15 12:45:32 -08:00