How to Replace clusterDomain From the Default Value local?

Problem

By default all Kubernetes clusters are configured with clusterDomain value set to "local" in the config. At times there are requirements to have custom values for clusterDomain per cluster.

kubectl  config view -n kube-system
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: DATA+OMITTED
    server: https://<IP>:443
  name: local
contexts:
- context:
    cluster: local
    namespace: default
    user: admin
  name: default-context
- context:
    cluster: local
    namespace: kube-system
    user: admin
  name: system-context
current-context: default-context
kind: Config
preferences: {}
users:
- name: admin
  user:
    client-certificate-data: REDACTED
    client-key-data: REDACTED

Environment

  • Platform9 Edge Cloud- v5.3 and higher.

  • Platform9 Managed Kubernetes - v5.6 and higher.

Answer

The supportability for the custom cluserDomain will be available in the SMCP-v5.12 and PMK-v5.12 releases.

Additional Information

Platform9 team has filed a Jira PMK-5881 to track this issue. The ETA for the release is not available at the moment.

Last updated