Last active
November 17, 2017 17:25
-
-
Save dminkovsky/55cc7d3d3bcff84a4a256aabcb73c596 to your computer and use it in GitHub Desktop.
Kubernetes Cheatsheet
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
# Which cluster are you connect to? | |
$ kubectl cluster-info | |
$ kubectl config view context | |
For more detail: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ | |
# What's running? | |
$ kubectl get --all-namespaces all | |
# Get a resource's complete YAML | |
$ kubectl get -o yaml TYPE NAME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment