Skip to content

Commit

Permalink
Enable StatefulSetAutoDeletePVC feature gate
Browse files Browse the repository at this point in the history
With this we can create a statesfulset with
persistentVolumeClaimRetentionPolicy[1] to have the PVCs deleted when a
stateful set is deleted. This policy is required for relocate, otherwise
ramen get stuck waiting for vrs to become secondary.

[1] https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs committed Nov 13, 2023
1 parent b2fe797 commit 1bc8955
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/envs/regional-dr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ templates:
addons:
- volumesnapshots
- csi-hostpath-driver
feature_gates:
- StatefulSetAutoDeletePVC=true
workers:
- addons:
- name: cert-manager
Expand Down

0 comments on commit 1bc8955

Please sign in to comment.