Skip to content
Snippets Groups Projects
  1. Jan 05, 2017
  2. Dec 27, 2016
  3. Dec 23, 2016
  4. Dec 16, 2016
  5. Dec 15, 2016
  6. Dec 13, 2016
    • Bogdan Dobrelya's avatar
      Fix resolvconf · 0515814e
      Bogdan Dobrelya authored
      
      Do not repeat options and nameservers in the dhclient hooks.
      Do not prepend nameservers for dhclient but supersede and fail back
      to the upstream_dns_resolvers then default_resolver. Fixes order of
      nameservers placement, which is cluster DNS ip goes always first.
      
      Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      0515814e
  7. Dec 12, 2016
    • Bogdan Dobrelya's avatar
      Rework DNS stack to meet hostnet pods needs · 3117858d
      Bogdan Dobrelya authored
      * 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: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
      Co-authored-by: default avatarMatthew Mosesohn <mmosesohn@mirantis.com>
      3117858d
Loading