# 2021-05-10-10:30:45+0800 expand thanos-store volume

- Cause: thanos-store-0 PVC has little space left https://pingcap.pagerduty.com/incidents/PKF615G
- Operation:

```sh
kubectl get pvc -n monitoring data-thanos-store-0 -oyaml > thanos-store-0-pvc.yaml
kubectl edit pvc -n monitoring data-thanos-store-0
# change the storage from 10Gi to 20Gi
# Watch the corresponding PV to become 20Gi
kubectl get pv | grep data-thanos-store-0
# Then ensure the disk size is expanded in the thanos-store-0 pod
kubectl exec -it -n monitoring thanos-store-0 -- sh
df -h
```

- Impact: The EBS disk will be expanded to 20Gi
- Recovery operation: Apply the backuped pvc yaml file
- Time window: 2021-05-10 10:25 ~ 10:35
