Page MenuHomePhabricator

Test the integration of the airflow chart with the cloudnative-pg-cluster chart
Closed, ResolvedPublic

Description

We'd like to get a PG cluster deployed as a dependency of the airflow chart. We'd need the dependency to be resolved by helmfile and applied/installed before airflow itself. This way, we'd get the PG cluster deployed, and then airflow.

Details

Related Changes in Gerrit:
SubjectRepoBranchLines +/-
operations/deployment-chartsmaster+3 -3
operations/deployment-chartsmaster+4 -2
operations/deployment-chartsmaster+12 -1
operations/deployment-chartsmaster+35 -7
operations/deployment-chartsmaster+34 -1
operations/deployment-chartsmaster+14 -29
operations/deployment-chartsmaster+2 -8
operations/deployment-chartsmaster+9 -8
operations/deployment-chartsmaster+62 -26
operations/deployment-chartsmaster+16 -1
operations/deployment-chartsmaster+1 -0
operations/deployment-chartsmaster+69 -4
operations/deployment-chartsmaster+18 -7
operations/deployment-chartsmaster+10 -0
operations/deployment-chartsmaster+14 -5
Show related patches Customize query in gerrit
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Expose the pooler URI in the application secretrepos/data-engineering/postgresql-kubernetes!11brouberolT372286-expose-pooler-urimain
Customize query in GitLab

Event Timeline

Change #1062030 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: add conditional dependency to cloudnative-pg-cluster

https://gerrit.wikimedia.org/r/1062030

Change #1062030 abandoned by Brouberol:

[operations/deployment-charts@master] airflow: add conditional dependency to cloudnative-pg-cluster

Reason:

Deploying PG via helm dependencies gives no deployment order guarantees

https://gerrit.wikimedia.org/r/1062030

Change #1062397 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: deploy postgresql cluster before airflow itself

https://gerrit.wikimedia.org/r/1062397

Change #1062398 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: fetch PG connection URI from the cloudnative PG cluster secret

https://gerrit.wikimedia.org/r/1062398

Change #1062431 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] rbac: grant RBAC permissions on cloudnative-pg CRDs to our view/deploy ClusterRoles

https://gerrit.wikimedia.org/r/1062431

Gehel triaged this task as High priority.Aug 14 2024, 8:30 AM

Change #1062431 merged by Brouberol:

[operations/deployment-charts@master] rbac: grant RBAC permissions on cloudnative-pg CRDs to our view/deploy ClusterRoles

https://gerrit.wikimedia.org/r/1062431

Change #1062397 merged by Brouberol:

[operations/deployment-charts@master] airflow: deploy postgresql cluster before airflow itself

https://gerrit.wikimedia.org/r/1062397

Change #1062398 merged by Brouberol:

[operations/deployment-charts@master] airflow: fetch PG connection URI from the cloudnative PG cluster secret

https://gerrit.wikimedia.org/r/1062398

Change #1063769 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] cloudnative-pg: configure the operator to watch the airflow-test-k8s ns

https://gerrit.wikimedia.org/r/1063769

Change #1063769 merged by Brouberol:

[operations/deployment-charts@master] cloudnative-pg: configure the operator to watch the airflow-test-k8s ns

https://gerrit.wikimedia.org/r/1063769

Change #1063803 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] cloudnative-pg-cluster: enable ingress traffic to the PG pod API

https://gerrit.wikimedia.org/r/1063803

Change #1063803 merged by Brouberol:

[operations/deployment-charts@master] cloudnative-pg-cluster: enable ingress traffic to the PG pod API

https://gerrit.wikimedia.org/r/1063803

Change #1063808 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] cloudnative-pg-cluster: enable ingress from the join pod to PG/5432

https://gerrit.wikimedia.org/r/1063808

Change #1063814 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: initialize the DB via a hook, at first install

https://gerrit.wikimedia.org/r/1063814

Change #1063814 merged by Brouberol:

[operations/deployment-charts@master] airflow: initialize the DB via a hook, at first install

https://gerrit.wikimedia.org/r/1063814

Change #1063823 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: add missing spec and volumes to the initdb job

https://gerrit.wikimedia.org/r/1063823

Change #1063823 merged by Brouberol:

[operations/deployment-charts@master] airflow: add missing spec and volumes to the initdb job

https://gerrit.wikimedia.org/r/1063823

Change #1063830 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: run the initdb job outside of hooks

https://gerrit.wikimedia.org/r/1063830

Change #1063830 merged by Brouberol:

[operations/deployment-charts@master] airflow: run the initdb job outside of hooks

https://gerrit.wikimedia.org/r/1063830

Change #1063836 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: run the initdb as an initcontainer

https://gerrit.wikimedia.org/r/1063836

Change #1063836 merged by Brouberol:

[operations/deployment-charts@master] airflow: run the initdb as an initcontainer

https://gerrit.wikimedia.org/r/1063836

Change #1063808 merged by Brouberol:

[operations/deployment-charts@master] cloudnative-pg-cluster: enable ingress from the join pod to PG/5432

https://gerrit.wikimedia.org/r/1063808

Change #1064039 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: automatically connect to PGBouncer instead of PG itself

https://gerrit.wikimedia.org/r/1064039

Change #1064039 merged by Brouberol:

[operations/deployment-charts@master] airflow: automatically connect to PGBouncer instead of PG itself

https://gerrit.wikimedia.org/r/1064039

Change #1064384 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow: disable sqlalchemy pooling when deployed against a cloudnative cluster

https://gerrit.wikimedia.org/r/1064384

Change #1064384 merged by Brouberol:

[operations/deployment-charts@master] airflow: disable sqlalchemy pooling when deployed against a cloudnative cluster

https://gerrit.wikimedia.org/r/1064384

Change #1065203 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airflow-test-k8s: Move pooler.imageTag to a value file common to all PG clusters in dse-k8s-eqiad

https://gerrit.wikimedia.org/r/1065203

Change #1065203 merged by Brouberol:

[operations/deployment-charts@master] airflow-test-k8s: Move pooler.imageTag to a value file common to all PG clusters in dse-k8s-eqiad

https://gerrit.wikimedia.org/r/1065203

Change #1065227 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] cloudnative-pg-cluster: stop printing variable in resource manifest

https://gerrit.wikimedia.org/r/1065227

Change #1065227 merged by Brouberol:

[operations/deployment-charts@master] cloudnative-pg-cluster: stop printing variable in resource manifest

https://gerrit.wikimedia.org/r/1065227