Skip to content

Instantly share code, notes, and snippets.

Justin Carmony JustinCarmony

Block or report user

Report or block JustinCarmony

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wait-for-rollout.bash
#!/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
You can’t perform that action at this time.