• vefimova's avatar
    Added ability for Docker containers to set usage of dns settings along with hostNetwork is true · fc8a37ec
    vefimova authored
    Introduced chages:
       1. Re-writing of the resolv.conf file generated by docker.
          Cluster dns settings aren't passed anymore to docker api in all cases, not only for pods with host network:
          the resolver conf will be overwritten after infra-container creation to override docker's behaviour.
    
       2. Added new one dnsPolicy - 'ClusterFirstWithHostNet', so now there are:
          - ClusterFirstWithHostNet - use dns settings in all cases, i.e. with hostNet=true as well
          - ClusterFirst - use dns settings unless hostNetwork is true
          - Default
    
    Fixes #17406
    fc8a37ec
Name
Last commit
Last update
..
apis Loading commit data...
client Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
deploy Loading commit data...
develop Loading commit data...
docs/api-reference Loading commit data...
manifests Loading commit data...
pkg Loading commit data...
registry/cluster Loading commit data...
BUILD Loading commit data...
Makefile Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...