Created
January 28, 2020 19:36
-
-
Save noeljackson/ecf0a380e446ec76b6ac8ff850de48f2 to your computer and use it in GitHub Desktop.
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
kubectl edit pvc <name> for each PVC in the StatefulSet, to increase its capacity. | |
kubectl delete sts --cascade=false <name> to delete the StatefulSet and leave its pods. | |
kubectl apply -f <name> to recreate the StatefulSet. | |
kubectl rollout restart sts <name> to restart the pods, one at a time. During restart, the pod's PVC will be resized. | |
kubectl get pod -w | |
kubectl get pvc -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment