-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some pods don't get started properly #7
Comments
This is an issue with the stateful set
|
I made it running with input from the airflow helm charts maintainer, taking into account securitycontextconstraints, group and user ids and so on. I have a working delta of the values.yaml, just have not found time to submit a PR here yet. Working together with @thesuperzapper helped a lot airflow-helm/charts#578 (comment) |
Ok, here we go. Airflow-scheduler has the git-sync in it, I believe. I am using that mechanism, working fine. Here are my deltas to the default values.yaml, my working values of values.yaml on the left. I prefer using the yaml approach over command-line passing of vars, especially due to weird bugs with special characters and all that. Do make sure you replace the gid or uid values or runAsUser with the correct namespace-level value of GID and / or UID.
@codekow @RHRolun I used postgres crunchy operator instead of the standard postgres container coming with the helm charts, don't get too hung up on that, I believe you get the idea. I didn't see any way to make that mucked up postgres image work on openshift, so I'd say just use Crunchy Postgres via OLM. I mean, even in the charts, it says not recommended for serious use or so (the included postgres) :-) so ... postgressql.enabled false Context should be clear from the screenshots. I used airflow 2.5.3
|
Issue addressed in PR #9 |
Installed the operator through the helm chart according to https://github.com/opendatahub-io-contrib/airflow-on-openshift#install-airflow-via---set on an RHPDS demo environment of OpenShift 4.12
![image](https://user-images.githubusercontent.com/113337503/221591687-0d7e556c-84a8-4cbc-9706-6cafb684a90c.png)
Some pods start running properly but most don't:
All have the same error:
The text was updated successfully, but these errors were encountered: