-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
tighten pvc resource limits validation #107776
Conversation
/triage accepted |
5614b2e
to
1511281
Compare
7449f46
to
6ebd809
Compare
/retest |
(fyi I'm looking at this, but as you realized it turned out to be a bigger change than expected :-) |
@mattcary Hey Matt, any update on the review? :-) |
sorry sorry, hopefully this afternoon I can take a look. |
bfd377c
to
96e005b
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jlsong01 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
@dims Hey, rebase complete. Could you review it please? |
96e005b
to
c77f1cf
Compare
c77f1cf
to
8a40db6
Compare
8a40db6
to
5fccbfa
Compare
@jlsong01: PR needs rebase. 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. |
@msau42 Validate for coherent (positive quantity values, limits >= requests, ...), issue warnings otherwise? EDIT: If anything non-storage related also included, warn as well? |
Added my proposal for what we can safely validate at #106637 (comment) |
@jlsong01 please rebase upstream changes |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. 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. |
What type of PR is this?
/kind bug
/sig storage
What this PR does / why we need it:
PVC never supported setting capacity limits. However, it looks like in validation, we never enforced it. This PR is to tighten the validation for pvc resource limits.
Which issue(s) this PR fixes:
Fixes #106637
Special notes for your reviewer:
fix according to Jordan's guidance: #103024 (comment)
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: