SaarYogev opened a new issue #20424: URL: https://github.com/apache/airflow/issues/20424
### Official Helm Chart version 1.3.0 (latest released) ### Apache Airflow version 2.2.2 (latest released) ### Kubernetes Version 1.21 (K3s) ### Helm Chart configuration ``` kubectl create namespace airflow helm repo add apache-airflow https://airflow.apache.org helm install airflow apache-airflow/airflow --namespace airflow ``` ### Docker Image customisations No additional configuration ### What happened Tried to use the starting guide: https://airflow.apache.org/docs/helm-chart/stable/index.html Finished this part: https://airflow.apache.org/docs/helm-chart/stable/index.html#installing-the-chart But the Airflow chart wasn't deployed properly. Instead I got a CrashLoopBackOff for airflow-postgresql, with the following logs: ``` > kubectl logs airflow-postgresql-0 -n airflow ←[38;5;6mpostgresql ←[38;5;5m12:09:55.58 ←[0m ←[38;5;6mpostgresql ←[38;5;5m12:09:55.59 ←[0m←[1mWelcome to the Bitnami postgresql container←[0m ←[38;5;6mpostgresql ←[38;5;5m12:09:55.59 ←[0mSubscribe to project updates by watching ←[1mhttps://github.com/bitnami/bitnami-docker-postgresql←[0m ←[38;5;6mpostgresql ←[38;5;5m12:09:55.59 ←[0mSubmit issues and feature requests at ←[1mhttps://github.com/bitnami/bitnami-docker-postgresql/issues←[0m ←[38;5;6mpostgresql ←[38;5;5m12:09:55.59 ←[0m ←[38;5;6mpostgresql ←[38;5;5m12:09:55.62 ←[0m←[38;5;2mINFO ←[0m ==> ** Starting PostgreSQL setup ** ←[38;5;6mpostgresql ←[38;5;5m12:09:55.64 ←[0m←[38;5;2mINFO ←[0m ==> Validating settings in POSTGRESQL_* env vars.. ←[38;5;6mpostgresql ←[38;5;5m12:09:55.65 ←[0m←[38;5;2mINFO ←[0m ==> Loading custom pre-init scripts... ←[38;5;6mpostgresql ←[38;5;5m12:09:55.66 ←[0m←[38;5;2mINFO ←[0m ==> Initializing PostgreSQL database... chmod: changing permissions of '/bitnami/postgresql/data': Operation not permitted ←[38;5;6mpostgresql ←[38;5;5m12:09:55.68 ←[0m←[38;5;3mWARN ←[0m ==> Lack of permissions on data directory! chmod: changing permissions of '/bitnami/postgresql/data': Operation not permitted ←[38;5;6mpostgresql ←[38;5;5m12:09:55.68 ←[0m←[38;5;3mWARN ←[0m ==> Lack of permissions on data directory! ←[38;5;6mpostgresql ←[38;5;5m12:09:55.69 ←[0m←[38;5;2mINFO ←[0m ==> pg_hba.conf file not detected. Generating it... ←[38;5;6mpostgresql ←[38;5;5m12:09:55.69 ←[0m←[38;5;2mINFO ←[0m ==> Generating local authentication configuration ls: cannot open directory '/bitnami/postgresql/data': Permission denied ``` ### What you expected to happen As the guide says: `The command deploys Airflow on the Kubernetes cluster in the default configuration` ### How to reproduce Use the guide to reproduce: https://airflow.apache.org/docs/helm-chart/stable/index.html It appears every time. ### Anything else _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
