-
Notifications
You must be signed in to change notification settings - Fork 228
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
Do not (re)create ProvReq is the state of admission check is Ready #1617
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/test-all |
1c7b5da
to
f7b8396
Compare
/assign @alculquicondor |
That behavior is independent of whether the ProvReq is deleted, so we likely need a different solution for that. For example, we could have an additional API field in the ProvisioningRequestConfig that can tell us that a fulfilled ProvReq could expire after a certain time. And then we can flip the admissionCheck status in the Workload based on it. |
/lgtm |
LGTM label has been added. Git tree hash: 5ecb9291344342d5cfda71d1d233fe5e9a011b79
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, mimowo 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 |
/cherry-pick |
oops /cherry-pick release-0.5 |
@alculquicondor: once the present PR merges, I will cherry-pick it on top of release-0.5 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@alculquicondor: #1617 failed to apply on top of branch "release-0.5":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It seems the cherry pick failed, I can l prepare manually the pr |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1605
Special notes for your reviewer:
I tested this in a loop and already >2500 repeats passed, which makes me confident the test is fixed.
A potential drawback scenario is when the check is flipped to Ready, but the workload awaits long (>10min) for other checks, if in the meantime the ProvReq is manually deleted then it will not be recreated. As a consequence the nodes might be collected by CA (Cluster Autoscaler) before the workload is admitted. Not sure we want to support the scenario.
Does this PR introduce a user-facing change?