-
Notifications
You must be signed in to change notification settings - Fork 39k
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
Volume topology aware dynamic provisioning: work based on new API #63193
Conversation
requested := claim.Spec.Resources.Requests[v1.ResourceStorage] | ||
minVolumeSize := class.Status.Capacity.MinVolumeSize | ||
|
||
if !isMinVolumeSizeSatisfied(requested, minVolumeSize) { |
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.
I misunderstood this part of MinVolumeSize
in design, and thought we need to reject it if a user requested a volume under the minimum size.
Can you split this PR into 3 PRs, since the API part is still under discussion:
|
@msau42 Sure thing, but the third pr would rely on the above two (in fact this existing PR should be the third one I think), I'll open another two PRs for api change and basic provisioning update |
/kind feature |
/priority important-soon |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. API change for volume topology aware dynamic provisioning **What this PR does / why we need it**: Split PR kubernetes#63193 for better review part 2: API change Previous: kubernetes#63232 Next: kubernetes#63193 **Which issue(s) this PR fixes** Feature: kubernetes/enhancements#561 Design: kubernetes/community#2168 **Special notes for your reviewer**: /sig storage /sig scheduling /assign @msau42 @jsafrane @thockin **Release note**: ```release-note API change for volume topology aware dynamic provisioning ```
After the former PR merged, I still can see the API related commits in this PR. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. API change for volume topology aware dynamic provisioning **What this PR does / why we need it**: Split PR kubernetes/kubernetes#63193 for better review part 2: API change Previous: kubernetes/kubernetes#63232 Next: kubernetes/kubernetes#63193 **Which issue(s) this PR fixes** Feature: kubernetes/enhancements#561 Design: kubernetes/community#2168 **Special notes for your reviewer**: /sig storage /sig scheduling /assign @msau42 @jsafrane @thockin **Release note**: ```release-note API change for volume topology aware dynamic provisioning ``` Kubernetes-commit: 77d996b27883bed9d8b9015b608f9a0f0c60fd23
/assign @lavalamp |
/lgtm |
/approve For kube-controller-manager change (I didn't look at anything else). |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lavalamp, lichuqiang, msau42, saad-ali 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 |
/test pull-kubernetes-e2e-gce |
/priority critical-urgent Bumping priority so the bot does not drop this when we get into code freeze. |
[MILESTONENOTIFIER] Milestone Pull Request: Up-to-date for process @bsalamat @jsafrane @lavalamp @lichuqiang @msau42 @saad-ali Pull Request Labels
|
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
The PR has been split to 3 parts:
Part1: #63232 for basic scheduler and PV controller plumbing
Part2: #63233 for API change
and the PR itself includes work based on the API change:
Which issue(s) this PR fixes
Feature: kubernetes/enhancements#561
Design: kubernetes/community#2168
Special notes for your reviewer:
/sig storage
/sig scheduling
/assign @msau42 @jsafrane @saad-ali @bsalamat
@kubernetes/sig-storage-pr-reviews
@kubernetes/sig-scheduling-pr-reviews
Release note: