Replies: 2 comments
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
|
Postgres in the Helm Chart is specificaly called out as development only for quick start. It's clearly written in the chart docs. Making statefull database works as K8S entity is a difficult task and we are not even pretending what we provide is ready for that. It is not. there are plenty of other things missing there that shoudl be there if you want to make a "production ready" database. We are not going to add it. Do not use it for production. It's not customizable, don't try to fine tune it. This is a feature, not a bug that it is not customizable. If you want to make your installation works for anything else than quick start and playing with the chart, you need to have Postgres instance outside of the chart. There are plenty of options for managing your database somewhere else. This what you need. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Official Helm Chart version
1.9.0 (latest released)
Apache Airflow version
2.5.0
Kubernetes Version
1.26
Helm Chart configuration
Here is the part of postgresql in my values.yaml file:
I've also tried with below but it has not changed anything.
tried also with different indentation:
PVC and PV are created and in bound state:
PV:
Docker Image customizations
I use standard docker image from Airflow
What happened
For some reason, postgres is always creating pvc named
data-airflow-postgresql-0. Is it possible that this comes from volumeClaimTemplates or something? This is what I see when runningkubectl get statefulsets.apps -n airflow-sandbox airflow-postgresql -o yamlWhat you think should happen instead
I would like postgresql to use the PVC which I have declared in existingClaim in my values.yaml
How to reproduce
existingClaim:in postgresql part ofvalues.yamlexistingClaim:and will create and usedata-airflow-postgresql-0Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions