-
Notifications
You must be signed in to change notification settings - Fork 16.4k
add readiness and liveliness support for git sync relay sidecars #50218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add readiness and liveliness support for git sync relay sidecars #50218
Conversation
|
@hussein-awala @dstandish can i get a review on this PR |
|
Internal Issue link for reference -> https://github.com/astronomer/issues/issues/6929 |
|
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. |
There was a problem hiding this comment.
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
|
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. |
|
@pgvishnuram are you still working on this PR? |
|
@eladkal this change works as expected are we good to merge i was waiting for approval |
…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
…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
…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
…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
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