Created
March 23, 2021 21:59
-
-
Save mwmitchell/f9ebbc770e23c9a2f624e24b8f36caa6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
kubectl get pods | grep bookkeeper | cut -d" " -f1 | xargs -I {} sh -c 'echo "instance: {}" && kubectl exec -ti {} -- df -h | grep bookkeeper' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment