Airflow Deployment on Openshift Failed for CeleryExecutor and KubernetesExecutor #725
-
I have been trying to deploy airflow on OpenShift 4. For 'LocalExecutor' It works fine. But if i try to deploy for celery or Kubernetes executor it does not start Pod gives CrashloopBackoff error for every pod other than postgres pod. Below is the command that i am running and attached is values.yaml file used command Run to install Helm on OpenShift: Values.yaml: uid: 1001020000 executor: "CeleryExecutor" dags: gitSync: allowPodLaunching: true env: [] workers: persistence: resources: {} terminationGracePeriodSeconds: 600 scheduler: args: ["bash", "-c", "exec airflow scheduler"] postgresql: createUserJob: migrateDatabaseJob: webserver: defaultUser: service: redis: labels: {} multiNamespaceMode: false logs: triggerer: flower: statsd: pgbouncer: metadataPoolSize: 10 cleanup: elasticsearch: connection: {} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@yogeshwariingale First, I think your values file looks wrong, take a look at "step 3" of the quickstart guide for info on creating your values file. If you are still having problems after updating your values, I have two recommendations:
If you still have a problem, please share your error logs/events and we will take a look. |
Beta Was this translation helpful? Give feedback.
@yogeshwariingale First, I think your values file looks wrong, take a look at "step 3" of the quickstart guide for info on creating your values file.
If you are still having problems after updating your values, I have two recommendations:
securityContext
settings likefsGroup
andrunAsGroup
, so I bet you will have to change from the defaults in the chartIf you still have a problem, please share your error logs/events and we will take a look.