-
Notifications
You must be signed in to change notification settings - Fork 39.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
Automated cherry pick of #56577 #56966
Automated cherry pick of #56577 #56966
Conversation
f27cd95
to
b7689a9
Compare
return nil, fmt.Errorf("Unable to find persistent volume: %s", pvID) | ||
} | ||
|
||
type FakeStorageClassInfo []storagev1.StorageClass |
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.
in 1.8, scheduler doesn't know about storageclass, so this can be removed
invalidPredicates := sets.NewString(maxPDVolumeCountPredicateKeys...) | ||
|
||
// The bound volume's label may change | ||
invalidPredicates.Insert("NoVolumeZoneConflict") |
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.
You also need to invalidate the NoVolumeNodeConflict predicate under the LocalPersistentVolumes feature gate for PVC delete.
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.
Thanks, just fixed.
Use factory to generat get equivalence pod func Fix NoVolumeNodeConflict
b7689a9
to
1d1060f
Compare
1d1060f
to
80b84fa
Compare
/test pull-kubernetes-e2e-kops-aws |
/test pull-kubernetes-verify |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: msau42, resouer Associated issue: #56577 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Review the full test history for this PR. |
4 similar comments
/retest Review the full test history for this PR. |
/retest Review the full test history for this PR. |
/retest Review the full test history for this PR. |
/retest Review the full test history for this PR. |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
Cherry pick of #56577 on release-1.8.
#56577: Fix PV counter predicate in eclass
fixes: #54370