Skip to content

Commit b743f7e

Browse files
authored
fix(docs): Airflow - specify default namespace (#396)
specify default namespace
1 parent df293ad commit b743f7e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/modules/demos/pages/airflow-scheduled-job.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ Install this demo on an existing Kubernetes cluster:
55

66
[NOTE]
77
====
8-
The namespace `airflow-demo` will be assumed in this guide.
9-
It will be created if it doesn't exist.
8+
The `default` namespace must be used for this demo.
109
====
1110

1211
[source,console]
1312
----
14-
$ stackablectl demo install airflow-scheduled-job -n airflow-demo
13+
$ stackablectl demo install airflow-scheduled-job -n default
1514
----
1615

1716
[WARNING]
@@ -175,7 +174,7 @@ We can use the kafka-producer script bundled with Kafka to write to this topic (
175174

176175
[source,bash]
177176
----
178-
kubectl exec -n airflow-demo kafka-broker-default-0 -c kafka -- bash -c \
177+
kubectl exec -n default kafka-broker-default-0 -c kafka -- bash -c \
179178
'echo "Hello World at: $(date)" | /stackable/kafka/bin/kafka-console-producer.sh \
180179
--bootstrap-server $BOOTSTRAP_SERVER \
181180
--topic test-topic \
@@ -187,7 +186,7 @@ You can do this by either displaying the pod logs directly (e.g. if you are usin
187186

188187
[source,bash]
189188
----
190-
kubectl logs -n airflow-demo airflow-triggerer-default-0 --tail=30
189+
kubectl logs -n default airflow-triggerer-default-0 --tail=30
191190
----
192191

193192
The logs show that our message was detected, triggering the job:
@@ -316,7 +315,7 @@ The patch can be applied like this:
316315

317316
[source,console]
318317
----
319-
kubectl patch airflowcluster airflow --type="merge" --patch-file stacks/airflow/patch_airflow.yaml -n airflow-demo
318+
kubectl patch airflowcluster airflow --type="merge" --patch-file stacks/airflow/patch_airflow.yaml -n default
320319
----
321320

322321
Wait for Airflow to come back up, and you should now see the generated DAGs.

0 commit comments

Comments
 (0)