Skip to content
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

Suggest to set reclaimPolicy Retain on datadir PV #28

Open
camuffo opened this issue Nov 4, 2024 · 0 comments
Open

Suggest to set reclaimPolicy Retain on datadir PV #28

camuffo opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
DevOps This label marks this as a DevOps activity

Comments

@camuffo
Copy link
Contributor

camuffo commented Nov 4, 2024

The README should mention that StorageClasses usually provision PVs with reclaimPolicy: Delete.
Suggest to manually patch the reclaimPolicy to be Retain, to preserve valuable data.

kubectl -n gs patch pv PV_NAME -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
@camuffo camuffo added the DevOps This label marks this as a DevOps activity label Nov 4, 2024
@camuffo camuffo self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps This label marks this as a DevOps activity
Projects
None yet
Development

No branches or pull requests

1 participant