Last active
June 1, 2024 20:46
-
-
Save nyrahul/b099e8df77ac9d83eec5bad21b27f1cf to your computer and use it in GitHub Desktop.
Check cluster kueue job status
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
# Show all workloads/jobs | |
kubectl get workload -A -o json | jq '.items[] | "\(.metadata.namespace) \(.metadata.name) \(.status.conditions[-1].type)"' | |
# Show Admitted workloads/jobs | |
kubectl get workload -A -o json | jq -c '.items[] | select(.status.conditions[-1].type == "Admitted") | [.metadata.namespace,.metadata.name]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment