-
Notifications
You must be signed in to change notification settings - Fork 40k
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
StatefulSet PersistentVolumeClaimDeletePolicy #99378
Conversation
@mattcary: GitHub didn't allow me to request PR reviews from the following users: kk-src. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
|
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
@mattcary: GitHub didn't allow me to request PR reviews from the following users: kk-src. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
a30b95a
to
402138d
Compare
/retest |
Hi! This should be ready for review now. I figured out how to get the api tests to pass, although I'm a little suspicious of what I did in apps/fuzzer.go so please let me know if I did it wrong. It appears the presubmit tests are currently failing due to something unrelated to my change. |
b25f982
to
e7c6b15
Compare
/retest |
/retest |
/retest Still looks like a flake (only an NFS storage test failed) |
@smarterclayton how does it look? |
any other comments from the other reviewers? if no, on monday eod i’ll tag this as lgtm |
Not that I know of. Thanks!
…On Fri, Jun 25, 2021 at 1:11 PM Clayton Coleman ***@***.***> wrote:
any other comments from the other reviewers? if no, on monday eod i’ll tag
this as lgtm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#99378 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJCBAHM6PBX4KFQ3XSBL2TTUTPHXANCNFSM4YDHMOPQ>
.
|
ping? Thanks! |
Still lgtm for me |
/lgtm Totally not monday.... |
Here is a second batch for feature gate updates in 1.22. - EndpointSliceProxying kubernetes/kubernetes#103451 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 - LogarithmicScaleDown kubernetes/kubernetes#101767 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - DynamicKubeletConfig kubernetes/kubernetes#102966 - NodeSwapEnabled kubernetes/kubernetes#102823 - DelegateFSGroupToCSIDriver kubernetes/kubernetes#103244 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 Some of these needs more detailed documentation.
Here is a second batch for feature gate updates in 1.22. - EndpointSliceProxying kubernetes/kubernetes#103451 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - DynamicKubeletConfig kubernetes/kubernetes#102966 - NodeSwapEnabled kubernetes/kubernetes#102823 - DelegateFSGroupToCSIDriver kubernetes/kubernetes#103244 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 Some of these needs more detailed documentation.
Here is a second batch for feature gate updates in 1.22. - CPUManagerPolicyOptions kubernetes/kubernetes#101432 - ControllerManagerLeaderMigration kubernetes/kubernetes#103533 - DelegateFSGroupToCSIDriver kubernetes/kubernetes#103244 - DynamicKubeletConfig kubernetes/kubernetes#102966 - EndpointSliceProxying kubernetes/kubernetes#103451 - EndpointSliceTerminatingCondition kubernetes/kubernetes#103596 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - JobTrackingWithFinalizers kubernetes/kubernetes#98817 (also tracked in kubernetes#28841, can rebase). - MemoryQoS kubernetes/kubernetes#102970 - NodeSwap kubernetes/kubernetes#102823, kubernetes/kubernetes#103553 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 Some of these needs more detailed documentation.
@lavalamp @liggitt @smarterclayton i thought we never merged API without the implementation , or has the policy changed around this ? |
I would not have expected this to merge until #99728 was ready to merge |
Agree, we need to back this out if the implementation isn't going to make the release :/ I see a reference to alpha in the implementation PR comments but this seems to change a beta API |
The feature gate in question is alpha. The feature adds a field to the StatefulSet spec; there are 3 StatefulSet apis currently (v1, v1beta1 and v1beta2); I added the new field to all of them. The implementation PR has an approval so is near ready to be merged, is there any chance of that being a possibility? |
You need to get an exception from the release team at this point. |
I see two possibilities here:
For Case 2, Now, wearing the hat of a previous release lead, I feel that it is highly likely that the exception request would be denied as it doesn't sound like a release-blocking feature and we are almost a week past code freeze. |
Moving conversation over to issue #103727 to make tracking easier |
Here is a second batch for feature gate updates in 1.22. - CPUManagerPolicyOptions kubernetes/kubernetes#101432 - ControllerManagerLeaderMigration kubernetes/kubernetes#103533 - DelegateFSGroupToCSIDriver kubernetes/kubernetes#103244 - DynamicKubeletConfig kubernetes/kubernetes#102966 - EndpointSliceProxying kubernetes/kubernetes#103451 - EndpointSliceTerminatingCondition kubernetes/kubernetes#103596 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - JobTrackingWithFinalizers kubernetes/kubernetes#98817 (also tracked in kubernetes#28841, can rebase). - MemoryQoS kubernetes/kubernetes#102970 - NodeSwap kubernetes/kubernetes#102823, kubernetes/kubernetes#103553 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 Some of these needs more detailed documentation.
Here is a second batch for feature gate updates in 1.22. - CPUManagerPolicyOptions kubernetes/kubernetes#101432 - ControllerManagerLeaderMigration kubernetes/kubernetes#103533 - DelegateFSGroupToCSIDriver kubernetes/kubernetes#103244 - DynamicKubeletConfig kubernetes/kubernetes#102966 - EndpointSliceProxying kubernetes/kubernetes#103451 - EndpointSliceTerminatingCondition kubernetes/kubernetes#103596 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - JobTrackingWithFinalizers kubernetes/kubernetes#98817 (also tracked in kubernetes#28841, can rebase). - MemoryQoS kubernetes/kubernetes#102970 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 Some of these needs more detailed documentation.
Here is a second batch for feature gate updates in 1.22. - CPUManagerPolicyOptions kubernetes/kubernetes#101432 - ControllerManagerLeaderMigration kubernetes/kubernetes#103533 - DynamicKubeletConfig kubernetes/kubernetes#102966 - EndpointSliceProxying kubernetes/kubernetes#103451 - EndpointSliceTerminatingCondition kubernetes/kubernetes#103596 - HugePageStorageMediumSize kubernetes/kubernetes#99144 - JobTrackingWithFinalizers kubernetes/kubernetes#98817 (also tracked in kubernetes#28841, can rebase). - MemoryQoS kubernetes/kubernetes#102970 - ServiceInternalTrafficPolicy kubernetes/kubernetes#103462 - StatefulSetAutoDeletePVC kubernetes/kubernetes#99378 - WindowsEndpointSliceProxying kubernetes/kubernetes#103451 Some of these needs more detailed documentation.
Marking as API review completed since the API bits were approved. Can reference this review when reintroducing in 1.23 along with the implementation |
API change for kubernetes/enhancements#1847.
/kind feature
/kind api-change
What this PR does / why we need it:
This adds a PersistentVolumeClaimDeletePolicy field to the StatefulSet spec according to kubernetes/enhancements#1847 which adds options for autodelete of PVCs created for StatefulSet pods.
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assign @kow3ns
/assign @janetkuo
/cc @kk-src