Compare languages | The node-local-dns module: configuration

The module does not require any configuration (it works right out-of-the-box).

Модуль не требует конфигурации (все работает из коробки).

Pay attention to the following:

Обратите внимание на следующее:

  • The module works with all CNIs, but in order to work correctly with cni-cilium, a number of conditions must be met.
  • By default, when used together with the cni-simple-bridge or cni-flannel modules, the node-local-dns module does not work for requests from hostNetwork. In this case, all requests go to the kube-dns module. You can specify the address 169.254.20.10 in the pod configuration, but if node-local-dns module crashes, there will be no fallback to the kube-dns module.
  • Модуль работает со всеми CNI, но для корректной работы с cni-cilium необходимо выполнить ряд условий.
  • По умолчанию, при использовании совместно с модулем cni-simple-bridge или cni-flannel, модуль node-local-dns не работает для запросов из hostNetwork. В этом случае все запросы уходят в модуль kube-dns. Вы можете указать адрес 169.254.20.10 в конфигурации пода, но тогда, в случае проблем в работе модуля node-local-dns, не будет работать fallback на модуль kube-dns.