CoreDNS is the default DNS service for Kubernetes clusters. This guide describes how to configure host aliases, node selectors, and tolerations for CoreDNS.
Navigate to Administrator > Marketplace > Cluster Plugins.
Search for "Alauda Build of CoreDNS" and click Update.
Configure the following parameters:
Configure custom DNS resolution entries.
| Parameter | Description |
|---|---|
| IP | The IP address to be resolved |
| Domains | Domain names (separated by spaces) Example: example.com test.example.com |
Specify which nodes CoreDNS pods should run on.
| Parameter | Description |
|---|---|
| Label Key | The label key to match on nodes |
| Label Value | The label value to match on nodes |
Allow CoreDNS pods to be scheduled on nodes with taints.
| Parameter | Description |
|---|---|
| Key | The taint key to tolerate |
| Value | The taint value (optional) |
| Type | NoSchedule, PreferNoSchedule, or NoExecute |