# tools/find-orphaned-volumes #!/bin/bash # Lists PVCs not attached to a running pod kubectl get pvc --all-namespaces -o json | jq -r '.items[] | select(.status.phase=="Lost") | .metadata.name'
We moved it all to tools/monday-cleanup . Now, the on-call engineer runs: platform tools folder
The Secret Weapon of Platform Teams: Why You Need a tools/ Folder # tools/find-orphaned-volumes #
When the database is down, you don't want to Google kubectl commands. platform tools folder