chore(snippets/kubectl): add a way to check pvs' usage

This commit is contained in:
Michele Cereda
2024-09-25 18:22:35 +02:00
parent ff76d4505a
commit e6a790348b

View File

@@ -50,3 +50,7 @@ reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
EOF
# Check persistent volumes' usage
# Need to connect to the pod mounting it
kubectl -n 'gitea' exec 'gitea-766fd5fb64-2qlqb' -c 'gitea' -- df -h '/data'