Skip to content

Instantly share code, notes, and snippets.

@ipleten
Created October 11, 2019 22:03
Show Gist options
  • Save ipleten/6120b932582a95690b21d15686df6e94 to your computer and use it in GitHub Desktop.
Save ipleten/6120b932582a95690b21d15686df6e94 to your computer and use it in GitHub Desktop.
kubectl get pods -o json | jq -r '.items[] | select(.status.conditions[] | select(.type == "Ready" and .status == "True") )| .metadata.name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment