-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Doc: Add blogpost for honor PV reclaim policy fix #30556
Conversation
Welcome @deepakkinni! |
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: 5b375a6 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/61a7c0174dc46a0007ee3dac 😎 Browse the preview: https://deploy-preview-30556--kubernetes-io-main-staging.netlify.app |
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.
Hi. Here's some partial feedback.
If you take this on board, we'll have more feedback I'm afraid - but it should only be a few things to fix.
8acdd45
to
1abb9b4
Compare
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.
Hi. Some important nits, if that's not a contradiction in terms.
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
/assign |
1abb9b4
to
be12a1a
Compare
BTW, there is also a v1.23 feature about StatefulSets and PVC reclaim. I suggest scheduling this post to be just before or just after the StatefulSet PVC reclaim article (or even: both on the same day). |
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-improvements.md
Outdated
Show resolved
Hide resolved
be12a1a
to
2c8dce7
Compare
I am not sure how to control the release day. |
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
2c8dce7
to
143aeaf
Compare
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.
Hi Deepak. Here's some more feedback.
I'm not sure about the title. We're not making any changes to reclaim policies; what we're doing is a partial bug fix, and then only for CSI storage integrations.
I preferred the title I proposed before:
Kubernetes 1.23: PersistentVolume reclaim improvements
I'd also consider:
A fix for a bug in PersistentVolume storage reclaim
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2021-11-18-persistentvolume-reclaim-policy-improvements.md
Outdated
Show resolved
Hide resolved
If someone's running a v1.22 cluster and upgrades |
Regarding the title, how about "Prevent PV leaks when deleting out of order"? |
143aeaf
to
4c17a22
Compare
The fix is applicable only to CSI volumes and migrated volumes after upgrading only the |
@sftim what do you think of this title? Options:
|
I'd go for a slightly longer version: Prevent PersistentVolume leaks when deleting out of order |
@deepakkinni let's be clear about what components need the new feature gate turned on in order to get the fix. |
4c17a22
to
2d06cdd
Compare
It's emphasized in "PV reclaim policy with Kubernetes v1.23" |
content/en/blog/_posts/2021-11-18-prevent-persistentvolume-leaks-when-deleting-out-of-order.md
Outdated
Show resolved
Hide resolved
2d06cdd
to
9091402
Compare
content/en/blog/_posts/2021-11-18-prevent-persistentvolume-leaks-when-deleting-out-of-order.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Deepak Kinni <dkinni@vmware.com>
9091402
to
5b375a6
Compare
content/en/blog/_posts/2021-11-18-prevent-persistentvolume-leaks-when-deleting-out-of-order.md
Show resolved
Hide resolved
Folks, is this article looking technically correct? |
/lgtm |
LGTM label has been added. Git tree hash: 5f17ecafa367a65c1dd4673e55eb5819c483dd57
|
/milestone 1.23 |
Hello! K8s 1.23 Release Team Comms Lead here. Confirming that the StatefulSet AutoDelete blog post is being updated to be published on 12/16, a day after this blog. |
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.
With technical LGTM in place, let's merge this.
I'll open a PR with proposed fixes.
/hold cancel
/approve
@@ -0,0 +1,199 @@ | |||
--- | |||
layout: blog | |||
title: "Kubernetes 1.23 Prevent PersistentVolume leaks when deleting out of order" |
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.
nit:
title: "Kubernetes 1.23 Prevent PersistentVolume leaks when deleting out of order" | |
title: "Kubernetes 1.23: Prevent PersistentVolume leaks when deleting out of order" |
|
||
**Author:** Deepak Kinni (VMware) | ||
|
||
[PersistentVolume](/docs/concepts/storage/persistent-volumes/) (or PVs for short) are |
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.
[PersistentVolume](/docs/concepts/storage/persistent-volumes/) (or PVs for short) are | |
Kubernetes [PersistentVolumes](/docs/concepts/storage/persistent-volumes/) (or PVs for short) are |
associated with [Reclaim Policy](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reclaim-policy). | ||
The Reclaim Policy is used to determine the actions that need to be taken by the storage |
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.
associated with [Reclaim Policy](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reclaim-policy). | |
The Reclaim Policy is used to determine the actions that need to be taken by the storage | |
associated with a [_reclaim policy_](/docs/concepts/storage/persistent-volumes/#reclaim-policy). | |
That reclaim policy is used to determine the actions that need to be taken by the storage |
|
||
## How did reclaim work in previous Kubernetes releases? | ||
|
||
[PersistentVolumeClaim](/docs/concepts/storage/persistent-volumes/#Introduction) (or PVC for short) is |
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.
[PersistentVolumeClaim](/docs/concepts/storage/persistent-volumes/#Introduction) (or PVC for short) is | |
A [PersistentVolumeClaim](/docs/concepts/storage/persistent-volumes/#Introduction) (or PVC for short) is |
## How did reclaim work in previous Kubernetes releases? | ||
|
||
[PersistentVolumeClaim](/docs/concepts/storage/persistent-volumes/#Introduction) (or PVC for short) is | ||
a request for storage by a user. A PV and PVC are considered [Bound](/docs/concepts/storage/persistent-volumes/#Binding) |
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.
a request for storage by a user. A PV and PVC are considered [Bound](/docs/concepts/storage/persistent-volumes/#Binding) | |
a request for storage by a user. A PV and PVC are considered | |
[_bound_](/docs/concepts/storage/persistent-volumes/#binding) to each other |
? (note case fix for fragment identifier #binding
)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim 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 |
This PR is a blog post explaining the change in behavior described in the KEP https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2644-honor-pv-reclaim-policy
cc: @xing-yang @jsafrane
Signed-off-by: Deepak Kinni dkinni@vmware.com