I set up Airflow using Kubernetes and another standalone Postgres server. When I run airflow list_dags
inside a container, i get sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres" to address: Name or service not known
.
Where can i check what connection that CLI is using?
It's because the container doesn't have AIRFLOW__CORE__SQL_ALCHEMY_CONN
environment variable set up.