Skip to content

add readiness and liveliness support for git sync relay sidecars#50218

Merged
potiuk merged 9 commits into
apache:mainfrom
pgvishnuram:feat/support-gitsyncrelay-probes
Aug 5, 2025
Merged

add readiness and liveliness support for git sync relay sidecars#50218
potiuk merged 9 commits into
apache:mainfrom
pgvishnuram:feat/support-gitsyncrelay-probes

Conversation

@pgvishnuram

@pgvishnuram pgvishnuram commented May 5, 2025

Copy link
Copy Markdown
Contributor

PR Description

This PR adds support for liveliness and readiness probe configuration to airflow sidecar container when gitsync is enabled and additional adds a skip condition for git sync initContainers which does not support probes as per kubernetes schema

Motivation
This is quite useful in places where companies has strict requirement of defining probes in all containers

@boring-cyborg boring-cyborg Bot added the area:helm-chart Airflow Helm Chart label May 5, 2025
@pgvishnuram

Copy link
Copy Markdown
Contributor Author

@hussein-awala @dstandish can i get a review on this PR

@pgvishnuram

Copy link
Copy Markdown
Contributor Author

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Jun 20, 2025

@romsharon98 romsharon98 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes looks good!
Can you add tests also to this file?
helm-tests/tests/helm_tests/airflow_aux/test_pod_template_file.py

@eladkal eladkal removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Jun 20, 2025
@github-actions

github-actions Bot commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Aug 5, 2025
@eladkal

eladkal commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

@pgvishnuram are you still working on this PR?

@pgvishnuram

Copy link
Copy Markdown
Contributor Author

@eladkal this change works as expected are we good to merge i was waiting for approval

@potiuk potiuk merged commit 07c7310 into apache:main Aug 5, 2025
2 checks passed
@eladkal eladkal added this to the Airflow Helm Chart 1.19.0 milestone Aug 5, 2025
@eladkal eladkal removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Aug 5, 2025
Nataneljpwd pushed a commit to IndiTheo/airflow that referenced this pull request Aug 5, 2025
…che#50218)

* add liveliness and readiness probes support in git sync template

* update templates

* add tests

* add git sync worker tests

* add webserver git sync tests

* fix pre-commit

* fix webserver tests

* update scheduler tests

* fix ci precommit failures
HsiuChuanHsu pushed a commit to HsiuChuanHsu/airflow that referenced this pull request Aug 5, 2025
…che#50218)

* add liveliness and readiness probes support in git sync template

* update templates

* add tests

* add git sync worker tests

* add webserver git sync tests

* fix pre-commit

* fix webserver tests

* update scheduler tests

* fix ci precommit failures
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 7, 2025
…che#50218)

* add liveliness and readiness probes support in git sync template

* update templates

* add tests

* add git sync worker tests

* add webserver git sync tests

* fix pre-commit

* fix webserver tests

* update scheduler tests

* fix ci precommit failures
fweilun pushed a commit to fweilun/airflow that referenced this pull request Aug 11, 2025
…che#50218)

* add liveliness and readiness probes support in git sync template

* update templates

* add tests

* add git sync worker tests

* add webserver git sync tests

* fix pre-commit

* fix webserver tests

* update scheduler tests

* fix ci precommit failures
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