Created
April 10, 2019 03:02
-
-
Save tswicegood/51339f8ca7614face854f490cb0234b1 to your computer and use it in GitHub Desktop.
This file contains 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 | |
NAMESPACE=${1:-default} | |
DEPLOYMENTS=$(kubectl get deployments -n "${NAMESPACE}" -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}') | |
for d in $DEPLOYMENTS; do | |
echo "Checking… $d" | |
kubectl -n $NAMESPACE rollout status --watch deployment $d; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment