Last active
September 7, 2022 22:11
-
-
Save besteban1989/5e40fdf202562db786701bb957ab992b to your computer and use it in GitHub Desktop.
Resize PVC in Kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update the PVC directly and run kubectl apply | |
# WARNING: DO NOT UPDATE THE PV, THE PVC WILL TAKE CARE OF THAT!!! | |
# INFO: THE CHANGE MAY TAKE 1 OR 2 MINUTES TO BE COMPLETED BY THE CLOUD PROVIDER. IN SOME CASES A RESTART OF POD THAT UTILIZES THE PVC WILL RELEASE LOCKS. | |
# Docs for GKE: https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/volume-expansion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment