Difference between revisions of "Statefulset expand pvc"
Jump to navigation
Jump to search
(Created page with "https://serverfault.com/questions/955293/how-to-increase-disk-size-in-a-stateful-set") |
|||
Line 1: | Line 1: | ||
https://serverfault.com/questions/955293/how-to-increase-disk-size-in-a-stateful-set | https://serverfault.com/questions/955293/how-to-increase-disk-size-in-a-stateful-set | ||
+ | |||
+ | |||
+ | ``` | ||
+ | kubectl edit pvc influxdb-data-influxdb-0 -n influxdb #edit size | ||
+ | kubectl delete sts --cascade=orphan influxdb -n influxdb | ||
+ | helm upgrade --install influxdb influxdata/influxdb -f v1/values.yaml --namespace influxdb | ||
+ | kubectl -n influxdb exec -it influxdb-0 -- df -h | grep influx | ||
+ | kubectl restart sts --cascade=orphan influxdb -n influxdb | ||
+ | kubectl -n influxdb exec -it influxdb-0 -- df -h | grep influx | ||
+ | ``` |
Revision as of 03:14, 7 November 2022
https://serverfault.com/questions/955293/how-to-increase-disk-size-in-a-stateful-set
kubectl edit pvc influxdb-data-influxdb-0 -n influxdb #edit size kubectl delete sts --cascade=orphan influxdb -n influxdb helm upgrade --install influxdb influxdata/influxdb -f v1/values.yaml --namespace influxdb kubectl -n influxdb exec -it influxdb-0 -- df -h | grep influx kubectl restart sts --cascade=orphan influxdb -n influxdb kubectl -n influxdb exec -it influxdb-0 -- df -h | grep influx