Before you deploy ExternalDNS, complete the steps described in Configure cluster model for ExternalDNS.
To deploy ExternalDNS
Select from the following options:
If you are performing the initial deployment of your MCP Kubernetes cluster, deploy a Kubernetes cluster as described in Deploy a Kubernetes cluster on bare metal. The ExternalDNS will be deployed automatically by the MCP DriveTrain pipeline job during the Kubernetes cluster deployment.
If you are making changes to an existing MCP Kubernetes cluster, apply the following state:
salt --hard-crash --state-output=mixed --state-verbose=False -C \
'I@kubernetes:master' state.sls kubernetes.master.kube-addons
Once the state is applied, the kube-addons.sh
script applies
the Kubernetes resources and they will shortly appear in the Kubernetes
resources list.