Skip to content
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 ready check for Webhook server #5380

Merged
merged 8 commits into from
Feb 28, 2022

Conversation

acumino
Copy link
Member

@acumino acumino commented Feb 2, 2022

How to categorize this PR?

/area open-source
/kind enhancement

What this PR does / why we need it:
The PR adds ready check for webhook server. The ready check wait for 10 sec for webhook server to be ready, otherwise throws error.

Which issue(s) this PR fixes:
Part of #4772

Special notes for your reviewer:
Since StartedChecker() is part of Kubernetes. I don't see any need to keep an extra function that just wraps around it.
Release note:

NONE

@acumino acumino requested a review from a team as a code owner February 2, 2022 11:13
@gardener-robot gardener-robot added area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension labels Feb 2, 2022
@gardener-robot
Copy link

@acumino Thank you for your contribution.

@gardener-robot gardener-robot added needs/review size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 2, 2022
Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/invite @timebertt

@acumino Should we now also define the readinessProbes in the respecitve Deployment specs?

Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

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

Thanks.

@gardener-robot gardener-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 15, 2022
@rfranzke
Copy link
Member

@acumino Can you check why the e2e test is failing?

rfranzke
rfranzke previously approved these changes Feb 22, 2022
Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm

@rfranzke
Copy link
Member

/author-action

@gardener-robot
Copy link

@acumino The pull request was assigned to you under author-action. Please unassign yourself when you are done. Thank you.

Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm

@rfranzke rfranzke merged commit 1fec763 into gardener:master Feb 28, 2022
krgostev pushed a commit to krgostev/gardener that referenced this pull request Apr 21, 2022
* Add ready check for webhook server

* Delete not required files

* Add readinessProbe

* Add flag for health bind Address

* Add livenessprobe

* Rebase

* Move HealthBindAddress to extesnions

* Address PR Review
krgostev pushed a commit to krgostev/gardener that referenced this pull request Jul 5, 2022
* Add ready check for webhook server

* Delete not required files

* Add readinessProbe

* Add flag for health bind Address

* Add livenessprobe

* Rebase

* Move HealthBindAddress to extesnions

* Address PR Review
@acumino acumino deleted the ehc/webhook-healthcheck branch November 21, 2022 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants