c12s-kubespray/roles/kubernetes/preinstall/tasks
Bogdan Dobrelya 8679f10f71 Rework DNS stack to meet hostnet pods needs
* For Debian/RedHat OS families (with NetworkManager/dhclient/resolvconf
  optionally enabled) prepend /etc/resolv.conf with required nameservers,
  options, and supersede domain and search domains via the dhclient/resolvconf
  hooks.

* Drop (z)nodnsupdate dhclient hook and re-implement it to complement the
  resolvconf -u command, which is distro/cloud provider specific.
  Update docs as well.

* Enable network restart to apply and persist changes and simplify handlers
  to rely on network restart only. This fixes DNS resolve for hostnet K8s
  pods for Red Hat OS family. Skip network restart for canal/calico plugins,
  unless https://github.com/projectcalico/felix/issues/1185 fixed.

* Replace linefiles line plus with_items to block mode as it's faster.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Matthew Mosesohn <mmosesohn@mirantis.com>
2016-12-12 17:43:47 +01:00
..
azure-credential-check.yml add basic azure support for kargo 2016-11-29 10:20:28 +01:00
dhclient-hooks.yml Rework DNS stack to meet hostnet pods needs 2016-12-12 17:43:47 +01:00
etchosts.yml Hostname alias fixes 2016-10-18 16:22:32 -05:00
gitinfos.yml Fail all nodes on error 2016-12-02 12:37:22 +01:00
main.yml Preconfigure DNS stack and docker early 2016-12-09 17:30:55 +01:00
openstack-credential-check.yml Implemented cloud-provider integration for OpenStack. 2016-03-29 15:17:22 +02:00
resolvconf.yml Rework DNS stack to meet hostnet pods needs 2016-12-12 17:43:47 +01:00
set_facts.yml Rework DNS stack to meet hostnet pods needs 2016-12-12 17:43:47 +01:00
set_resolv_facts.yml Rework DNS stack to meet hostnet pods needs 2016-12-12 17:43:47 +01:00