Skip to content

Instantly share code, notes, and snippets.

@WillMoggridge
Last active May 3, 2018 13:12
Show Gist options
  • Save WillMoggridge/60ceca575d3268d546c5867b03629d2c to your computer and use it in GitHub Desktop.
Save WillMoggridge/60ceca575d3268d546c5867b03629d2c to your computer and use it in GitHub Desktop.
Kubernetes cheat sheet
# This looks like a useful resource:
# https://gist.github.com/so0k/42313dbb3b547a0f51a547bb968696ba
# Kubetail looks useful for watching multiple node logs
# https://github.com/johanhaleby/kubetail
# List everything for app label - seems to list items twice and is a bit too wide (with -o wide)
kubectl get all -l app=a.website.com -o wide
# List pods related to app
kubectl get pods -l app=a.website.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment