aws / aws/containers-roadmap

[service] [request]: Enable StatefulSetAutoDeletePVC feature gate on kubernetes 1.23+

Open
#1,933 2 comments 39 reactions 0 assignees View on GitHub
EKS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**

In v1.23 of kubernetes there is a featuregate StatefulSetAutoDeletePVC, which will allow statefulSets to retain/delete PVCs when the statefulSet is deleted or scaled down, opposed to having to remove the PVCs manually. Please could this be enabled so it can be used?

**Which service(s) is this request for?**
EKS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**

Currently PVCs need to be removed manually when using statefulSets and volumeClaimTemplates, for example via a helm chart. This will enable users to be able to automatically delete when the statefulSet is deleted or scaled down

**Are you currently working around this issue?**

Remove manually / track unmounted volumes in kubecost

**Additional context**

N/A

**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Contributor guide

Open the contributing guide

Research direction

The issue names EKS and Kubernetes 1.23's StatefulSetAutoDeletePVC feature gate but mentions no repository files, tests, or entry points. Start by determining how this roadmap tracks EKS feature-gate requests; done would require confirmation that the gate is enabled for supported Kubernetes versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.