-
As it is known, k8s control plane never cleans up the PVCs created for StatefulSets. In v1.23 version they've added a new retention policy for this, which can be enabled with StatefulSetAutoDeletePVC feature gate inside container like this:
As we delegate Kafka-related PVC provisioning to Strimzi cluster operator, we can't enable this feature inside the resources. Seems like STRIMZI_FEATURE_GATES env doesn't support this gate either: Is there any alternative solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That is a Kubernetes Feature Gate. You have to configure it in Kubernetes. Strimzi has its own Feature Gates for Strimzi. If you want your PVCs to be deleted, you can use the |
Beta Was this translation helpful? Give feedback.
That is a Kubernetes Feature Gate. You have to configure it in Kubernetes. Strimzi has its own Feature Gates for Strimzi.
If you want your PVCs to be deleted, you can use the
deleteClaim
option in the storage configuration (obviously, not recommended for production, but useful for development).