Skip to content

Instantly share code, notes, and snippets.

@BugRoger
Last active June 29, 2016 09:50
Show Gist options
  • Save BugRoger/999285aa8d52917e02b92be9c2bba684 to your computer and use it in GitHub Desktop.
Save BugRoger/999285aa8d52917e02b92be9c2bba684 to your computer and use it in GitHub Desktop.
Useful Kubectl Oneliners

Kubectl Oneliners

Check Node Ready State

kubectl get nodes -o json | jq -e '.items[] | select(.metadata.name=="master0") | (.status.conditions[] | select(.type=="Ready") | .status) == "True"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment