Skip to content

Commit b8da5c2

Browse files
committed
Adds missing KUBERNETES_CLUSTER_DOMAIN environment variable to docs.
part of stackabletech/issues#668
1 parent 36b65a6 commit b8da5c2

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
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 airflow-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/<product>-operator:latest
34+
----
35+
536
== PRODUCT_CONFIG
637

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

0 commit comments

Comments
 (0)