Skip to content

Conversation

@romsharon98
Copy link
Contributor

Today pgbouncer and statsd expose /metrics route but we cannot access it outside the cluster.
This PR adds an ingress to pgbouncer and statsd (same as webUI and flower)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@romsharon98 romsharon98 self-assigned this Aug 26, 2024
@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Aug 26, 2024
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@romsharon98 overall the changes look good. Could you add test cases for default values?

@romsharon98
Copy link
Contributor Author

@romsharon98 overall the changes look good. Could you add test cases for default values?

Most of the default values are set to "",making it difficult to test effectively.
Do you have any specific values you'd like me to check?

@amoghrajesh
Copy link
Contributor

@romsharon98 overall the changes look good. Could you add test cases for default values?

Most of the default values are set to "",making it difficult to test effectively. Do you have any specific values you'd like me to check?

On second thought, this is OK. No point of testing empty values

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1
@jedcunningham WDYT?

@eladkal eladkal force-pushed the feature/ingress-pgbouncer-statsd branch from a607505 to 466cadd Compare September 15, 2024 04:02
@eladkal eladkal merged commit 26b3b3d into apache:main Sep 15, 2024
@eladkal eladkal added this to the Airflow Helm Chart 1.16.0 milestone Sep 15, 2024
gopidesupavan pushed a commit to gopidesupavan/airflow that referenced this pull request Sep 17, 2024
* add pgbouncer and statsd ingress

* convert pgbouncer to PgBouncer

* improve tests, rename flower

* change ports

* fix tests
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
* add pgbouncer and statsd ingress

* convert pgbouncer to PgBouncer

* improve tests, rename flower

* change ports

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants