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

doc: how to safely resize pvc ? #622

Open
tetra12 opened this issue Mar 9, 2024 · 1 comment
Open

doc: how to safely resize pvc ? #622

tetra12 opened this issue Mar 9, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@tetra12
Copy link

tetra12 commented Mar 9, 2024

Hello how do I resize an active pvc in v2.4.1 ? 👀

I use lvs to create lvn-thin pools for linstor on my nodes. My storage-class name is hdd-pool-dev and it uses 2 replicas.

Now I have mysql which is provided with a pvc from the hdd-pool-dev. Say pvc size is 1Gi. How do I grow and shrink the size?

Maybe documentation question, but needs to be covered 🙄

@WanzenBug
Copy link
Member

You resize a PVC by updating the requested size. See https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims

Note that you can only grow a PVC, shrinking is not supported.

@WanzenBug WanzenBug added the documentation Improvements or additions to documentation label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants