Skip to content

Instantly share code, notes, and snippets.

@MarkTiedemann
Created September 13, 2017 14:32
Show Gist options
  • Save MarkTiedemann/0db77feb389ebcb0b27ed55c4aca02fc to your computer and use it in GitHub Desktop.
Save MarkTiedemann/0db77feb389ebcb0b27ed55c4aca02fc to your computer and use it in GitHub Desktop.
Kubernetes node status
kubectl get nodes -o json | jq ".items[] | {name: .metadata.name, conditions: [.status.conditions[] | {type: .type, status: .status}]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment