yevsh edited a comment on issue #17679:
URL: https://github.com/apache/airflow/issues/17679#issuecomment-901111783


   ```
   helm install airflow-xxx airflow \
      --set webserver.service.type=NodePort \
      --set executor="LocalExecutor" \
      --set workers.persistence.size=1Gi \
      --set logs.persistence.size=1Gi \
      --set workers.persistence.enabled=false \
      --set postgresql.persistence.enabled=false \
      --set dags.persistence.enabled=true \
      --set logs.persistence.enabled=true \
      --set dags.persistence.accessMode=ReadWriteMany \
      --set dags.persistence.storageClassName=airflow-dags-xxx \
      --set logs.persistence.storageClassName=airflow-logs-xxx \
      --set images.airflow.repository=${EXTERNAL_IMAGES}/airflow \
      --set postgresql.image.registry=${EXTERNAL_IMAGES} \
      --set redis.enabled=false \
      --set uid=0 \
      --set gid=0 \
      --namespace xxx
   ```
   
   from values.yaml, 
   
   #User and group of airflow user
   uid: 0
   gid: 0
   
   
   if you need anything specific from values please tell.
   
   
   
   
   
      
   NAME: airflow-xxx
   LAST DEPLOYED: Wed Aug 18 16:21:19 2021
   NAMESPACE: xxx
   STATUS: deployed
   REVISION: 1
   TEST SUITE: None
   NOTES:
   Thank you for installing Apache Airflow 2.1.2!
   
   Your release is named airflow-xxx.
   You can now access your dashboard(s) by executing the following command(s) 
and visiting the corresponding port at localhost in your browser:
   
   Airflow Webserver:     kubectl port-forward svc/airflow-xxx-webserver 
8080:8080 --namespace xxx
   Default Webserver (Airflow UI) Login credentials:
       username: admin
       password: admin
   Default Postgres connection credentials:
       username: postgres
       password: postgres
       port: 5432
   
   You can get Fernet Key value by running the following:
   
       echo Fernet Key: $(kubectl get secret --namespace xxx 
airflow-xxx-fernet-key -o jsonpath="{.data.fernet-key}" | base64 --decode)
   status=0
   Traceback (most recent call last):
     File "/home/airflow/.local/bin/airflow", line 5, in <module>
       from airflow.__main__ import main
   ModuleNotFoundError: No module named 'airflow'
   command terminated with exit code 1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to