You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
926 B

  1. K8s DNS stack by Kargo
  2. ======================
  3. Here is an approximate picture of how DNS things working and
  4. being configured by Kargo ansible playbooks:
  5. ![Image](figures/dns.png?raw=true)
  6. Note that an additional dnsmasq daemon set is installed by Kargo
  7. by default. Kubelet will configure DNS base of all pods to use that
  8. dnsmasq cluster IP. You can disable it with the ``skip_dnsmasq``
  9. var. This may be the case, if you're fine with Linux limit of max 3
  10. nameservers in the ``/etc/resolv.conf``. When skipped and bypassed
  11. directly to Kubedns's dnsmasq cluster IP, it greatly simplifies things
  12. by the price of limited nameservers though.
  13. Nameservers are configured in the hosts' ``/etc/resolv.conf`` files
  14. from the ``nameservers`` (see also ``searchdomains``) vars. While the
  15. ``upstream_dns_servers`` will define additional DNS servers for the
  16. dnsmasq daemon set running on all hosts (unless bypassed with
  17. ``skip_dnsmasq``).