Updated on 2024-11-11 GMT+08:00

node-local-dns

Introduction

NodeLocal DNSCache improves cluster DNS performance by running DNS cache proxies as DaemonSets on cluster nodes.

Open source community: https://github.com/kubernetes/dns

Figure 1 NodeLocal DNSCache query path

Notes and Constraints

  • This feature is available only to clusters of v1.19 and later.

Installing the Add-on

  1. Log in to the CCE console and access the cluster details page. Choose Add-ons in the navigation pane, locate node-local-dns on the right, and click Install.
  2. On the Install Add-on page, select the add-on specifications and set related parameters.

    enable_dnsconfig_admission: whether to enable auto injection. Defaults to false. Value true enables auto injection.

  3. Click Install.