Configuring the Kubernetes cluster domain
Stackable operators allow the configuration of a non-default cluster domain as described in Customizing DNS Service (and more in DNS for Services and Pods).
The cluster domain can be configured using an environment variable KUBERNETES_CLUSTER_DOMAIN
set on the operators.
This environment variable can be configured via the helm values property kubernetesClusterDomain
during the installation of the operators.
helm install <product>-operator stackable-stable/<product>-operator --set kubernetesClusterDomain="my.domain."
Note that if you specify a custom cluster domain we recommend adding a trailing dot (my.domain.
instead of my.domain
) to reduce DNS requests (see https://github.com/stackabletech/issues/issues/656 for details).
If the environment variable KUBERNETES_CLUSTER_DOMAIN
(or the helm property kubernetesClusterDomain
) are not set / overriden, the operator will default the cluster domain to cluster.local.
.