#helm (2021-02)

Archive: https://archive.sweetops.com/helm/

2021-02-18

bradym avatar
bradym

Anyone using https://github.com/airflow-helm/charts/ to install airflow? Despite having specified postgres as the db to use and verifying that env vars are being set correctly, my pods are crashing with airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the CeleryExecutor

I can’t figure out why it’s trying to use sqlite when I’ve specified postgres as the db to use. Any ideas?

airflow-helm/charts

the home of the stable/airflow Helm chart. Contribute to airflow-helm/charts development by creating an account on GitHub.

bradym avatar
bradym

If I don’t try to load in my dags it works out of the box. Now to figure out what’s wrong with my dags.

airflow-helm/charts

the home of the stable/airflow Helm chart. Contribute to airflow-helm/charts development by creating an account on GitHub.

ruan.arcega avatar
ruan.arcega

in airflow there are some vars you could set up have u ever try these environments variables? for example:

AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://${DB_USERNAME}:${DB_PASSWORD}@${DB_ENDPOINT}/${DB_DBNAME}
AIRFLOW__CELERY__RESULT_BACKEND=db+postgresql://${DB_USERNAME}:${DB_PASSWORD}@${DB_ENDPOINT}/${DB_DBNAME}

the database is the first parameter

bradym avatar
bradym

Thanks for the suggestion. It turns out my repo with the dags had a conflicting version of airflow in its requirements.txt that was causing the problem. Not clear why we had airflow in there, but once it was removed things started working as expected.

1
ruan.arcega avatar
ruan.arcega

ok, nice!

2021-02-09

Adnan avatar
Adnan

Hi Everyone! Is anyone using porter.sh in prod? Specifically as a bridge between terraform and helm?

2021-02-03

2021-02-02

    keyboard_arrow_up