Configure Alauda Container Platform Cluster DNS

Overview

CoreDNS is the default DNS service for Kubernetes clusters. This guide describes how to configure host aliases, node selectors, and tolerations for CoreDNS.

Configuration

  1. Navigate to Administrator > Marketplace > Cluster Plugins.

  2. Search for "Alauda Container Platform Cluster DNS" and click Update.

  3. Configure the following parameters:

Host Alias

Configure custom DNS resolution entries.

ParameterDescription
IPThe IP address to be resolved
DomainsDomain names (separated by spaces)
Example: example.com test.example.com

Node Selectors

Specify which nodes CoreDNS pods should run on.

ParameterDescription
Label KeyThe label key to match on nodes
Label ValueThe label value to match on nodes

Node Tolerations

Allow CoreDNS pods to be scheduled on nodes with taints.

ParameterDescription
KeyThe taint key to tolerate
ValueThe taint value (optional)
TypeNoSchedule, PreferNoSchedule, or NoExecute
  1. Click Update to apply the configuration.

Trademark Notice

CoreDNS™ is a trademark of The Linux Foundation.

Alauda is an independent vendor. This product is not affiliated with, endorsed by, or sponsored by The Linux Foundation. All trademarks are the property of their respective owners and are used here for identification purposes only.