Skip to content

Commit e19a73b

Browse files
authored
Adds missing KUBERNETES_CLUSTER_DOMAIN environment variable to docs (#648)
1 parent 8055089 commit e19a73b

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

docs/modules/druid/pages/reference/environment-variables.adoc

+33-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,44 @@
22

33
This operator accepts the following environment variables:
44

5+
== KUBERNETES_CLUSTER_DOMAIN
6+
7+
*Default value*: cluster.local
8+
9+
*Required*: false
10+
11+
*Multiple values*: false
12+
13+
This instructs the operator, which value it should use for the Kubernetes `clusterDomain` setting.
14+
Make sure to keep this in sync with whatever setting your cluster uses.
15+
Please see the documentation xref:guides:kubernetes-cluster-domain.adoc[on configuring the Kubernetes cluster domain] for more information on this feature.
16+
17+
[source]
18+
----
19+
export KUBERNETES_CLUSTER_DOMAIN=mycluster.local
20+
cargo run -- run
21+
----
22+
23+
or via docker:
24+
25+
[source]
26+
----
27+
docker run \
28+
--name druid-operator \
29+
--network host \
30+
--env KUBECONFIG=/home/stackable/.kube/config \
31+
--env KUBERNETES_CLUSTER_DOMAIN=mycluster.local \
32+
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
33+
docker.stackable.tech/stackable/druid-operator:latest
34+
----
35+
536
== PRODUCT_CONFIG
637

738
*Default value*: `/etc/stackable/druid-operator/config-spec/properties.yaml`
839

940
*Required*: false
1041

11-
*Multiple values:* false
42+
*Multiple values*: false
1243

1344
[source]
1445
----
@@ -34,7 +65,7 @@ docker run \
3465

3566
*Required*: false
3667

37-
*Multiple values:* false
68+
*Multiple values*: false
3869

3970
The operator **only** watches for resources in the provided namespace `test`:
4071

0 commit comments

Comments
 (0)