This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 60e2f94 Chart: Add instructions to run with Example DAGs (#17043)
60e2f94 is described below
commit 60e2f946e95baa0eeea17899ba32654e776790ac
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Jul 16 06:58:36 2021 +0100
Chart: Add instructions to run with Example DAGs (#17043)
For quick testing it is easier to show users in Quick Start on how they can
run Helm chart with Example DAGs
---
docs/helm-chart/quick-start.rst | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/docs/helm-chart/quick-start.rst b/docs/helm-chart/quick-start.rst
index ee97f1c..aaf0f18 100644
--- a/docs/helm-chart/quick-start.rst
+++ b/docs/helm-chart/quick-start.rst
@@ -43,17 +43,31 @@ Add Airflow Helm Stable Repo
helm repo add apache-airflow https://airflow.apache.org
helm repo update
-Create namespace and Install the chart
---------------------------------------
+Create namespace
+----------------
.. code-block:: bash
- export RELEASE_NAME=example-release
export NAMESPACE=example-namespace
-
kubectl create namespace $NAMESPACE
+
+Install the chart
+-----------------
+
+.. code-block:: bash
+
+ export RELEASE_NAME=example-release
helm install $RELEASE_NAME apache-airflow/airflow --namespace $NAMESPACE
+Use the following code to install the chart with Example DAGs:
+
+.. code-block:: bash
+
+ export NAMESPACE=example-namespace
+ helm install $RELEASE_NAME apache-airflow/airflow \
+ --namespace $NAMESPACE \
+ --set 'env[0].name=AIRFLOW__CORE__LOAD_EXAMPLES,env[0].value=True'
+
It may take a few minutes. Confirm the pods are up:
.. code-block:: bash