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

Wait for the webhook service to be listening before advertising the Jobset replica as ready. #608

Conversation

mbobrovskyi
Copy link
Contributor

@mbobrovskyi mbobrovskyi commented Jun 20, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Wait for the webhook server to be listening before advertising the Jobset deployment replica as ready. This allows users to wait with sending the first requests, requiring webhooks, until the Jobset deployment is available, so that the early requests are not rejected during the Jobset's startup.

Which issue(s) this PR fixes:

Fixes #607

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Wait for the webhook service to be listening before advertising the Jobset replica as ready.

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 20, 2024
Copy link

netlify bot commented Jun 20, 2024

Deploy Preview for kubernetes-sigs-jobset canceled.

Name Link
🔨 Latest commit 3c8290b
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-jobset/deploys/6675c6742952aa0008c5e397

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 20, 2024
@mbobrovskyi mbobrovskyi marked this pull request as ready for review June 20, 2024 14:22
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 20, 2024
@mbobrovskyi
Copy link
Contributor Author

/cc @mimowo

@k8s-ci-robot k8s-ci-robot requested a review from mimowo June 20, 2024 14:23
main.go Outdated Show resolved Hide resolved
test/e2e/suite_test.go Show resolved Hide resolved
test/e2e/suite_test.go Outdated Show resolved Hide resolved
@danielvegamyhre danielvegamyhre self-assigned this Jun 20, 2024
@mbobrovskyi mbobrovskyi force-pushed the feature/wait-for-the-webhook-service-to-be-listening-before-advertising-the-jobset-replica-as-ready branch from 09d3972 to eadb91c Compare June 20, 2024 15:52
@mbobrovskyi mbobrovskyi force-pushed the feature/wait-for-the-webhook-service-to-be-listening-before-advertising-the-jobset-replica-as-ready branch from eadb91c to 3c8290b Compare June 21, 2024 18:29
@danielvegamyhre
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 24, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danielvegamyhre, mbobrovskyi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 24, 2024
@k8s-ci-robot k8s-ci-robot merged commit cc4890b into kubernetes-sigs:main Jun 24, 2024
13 checks passed
@mbobrovskyi mbobrovskyi deleted the feature/wait-for-the-webhook-service-to-be-listening-before-advertising-the-jobset-replica-as-ready branch June 24, 2024 17:04
@danielvegamyhre danielvegamyhre mentioned this pull request Aug 19, 2024
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

Wait for the webhook service to be listening before advertising the Jobset replica as ready.
3 participants