File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 host : airflow-postgresql
1616 database : airflow
1717 credentialsSecretName : airflow-postgresql-credentials
18+ celeryResultsBackend :
19+ postgresql :
20+ host : airflow-postgresql
21+ database : airflow
22+ credentialsSecretName : airflow-postgresql-credentials
23+ celeryBroker :
24+ redis :
25+ host : airflow-redis-master
26+ credentialsSecretName : airflow-redis-credentials
1827 webservers :
1928 roleConfig :
2029 listenerClass : external-unstable
2938 envOverrides : *envOverrides
3039 replicas : 1
3140 celeryExecutors :
32- resultBackend :
33- postgresql :
34- host : airflow-postgresql
35- database : airflow
36- credentialsSecretName : airflow-postgresql-credentials
37- broker :
38- redis :
39- host : airflow-redis-master
40- credentialsSecretName : airflow-redis-credentials
4141 roleGroups :
4242 default :
4343 envOverrides : *envOverrides
Original file line number Diff line number Diff line change @@ -16,22 +16,22 @@ spec:
1616 host : airflow-postgresql
1717 database : airflow
1818 credentialsSecretName : airflow-postgresql-credentials
19- webservers :
20- roleConfig :
21- listenerClass : external-unstable
22- roleGroups :
23- default :
24- replicas : 1
25- celeryExecutors :
26- resultBackend :
19+ celeryResultsBackend :
2720 postgresql :
2821 host : airflow-postgresql
2922 database : airflow
3023 credentialsSecretName : airflow-postgresql-credentials
31- broker :
24+ celeryBroker :
3225 redis :
3326 host : airflow-redis-master
3427 credentialsSecretName : airflow-redis-credentials
28+ webservers :
29+ roleConfig :
30+ listenerClass : external-unstable
31+ roleGroups :
32+ default :
33+ replicas : 1
34+ celeryExecutors :
3535 roleGroups :
3636 default :
3737 replicas : 1
Original file line number Diff line number Diff line change @@ -20,22 +20,26 @@ spec:
2020<2> A reference to a Secret which must contain the two fields `username` and `password`.
2121
2222The queue/broker metadata and URL is only needed when running the celery executor.
23- The `resultBackend ` definition uses the same structure as `metadataDatabase` shown above.
24- The `broker ` definition requires Redis connection details.
23+ The `celeryResultsBackend ` definition uses the same structure as `metadataDatabase` shown above.
24+ The `celeryBroker ` definition requires Redis connection details.
2525
2626[source,yaml]
2727----
2828spec:
29- celeryExecutors :
30- resultBackend :
29+ clusterConfig :
30+ celeryResultsBackend :
3131 postgresql: # <1>
3232 host: airflow-postgresql
3333 database: airflow
3434 credentialsSecretName: airflow-postgresql-credentials # <2>
35- broker :
35+ celeryBroker :
3636 redis: # <3>
3737 host: airflow-redis-master
3838 credentialsSecretName: airflow-redis-credentials # <2>
39+ celeryExecutors:
40+ roleGroups:
41+ default:
42+ replicas: 1
3943----
4044<1> A reference to one of the supported database backends (e.g. `postgresql`).
4145<2> A reference to a secret which must contain the two fields `username` and `password`.
@@ -57,10 +61,11 @@ spec:
5761[source,yaml]
5862----
5963spec:
60- resultBackend:
64+ clusterConfig:
65+ celeryResultsBackend:
6166 generic:
6267 connectionUrlSecretName: postgresql-celery # <2>
63- broker :
68+ celeryBroker :
6469 generic:
6570 connectionUrlSecretName: redis-celery # <3>
6671----
You can’t perform that action at this time.
0 commit comments