mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(snippets/kubectl): add a way to check pvs' usage
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user