How do I replace the cluster domain without downtime?

Add the new domain and save the old one:

  1. In the controlPlaneManager.apiserver.certSANs section, enter the following parameters:
    • kubernetes.default.svc.<old clusterDomain>
    • kubernetes.default.svc.<new clusterDomain>
  2. In the kubeDns.clusterDomainAliases section, enter:
    • the old clusterDomain.
    • the new clusterDomain.
  3. Wait until kube-apiserver is restarted.
  4. Replace the old clusterDomain with the new one in dhctl config edit cluster-configuration