# kubectl
$ k
# kubectl get
$ kg pod/🔥
# kubectl describe
$ kd pod/🎉
# kubectl logs
$ kl pod/🔥
fire!
fire!
fire!
# kubectl apply -f
$ kf 🚒.yaml
deployment.apps/🧯configured
service/🚒 configured
pod/🔥 unchanged
# kubectl exec -it
$ kx pod/🔥 ls
💣 💥 🧨 🌶 🍜
# list all namespaces
$ kn
default
defaulter
defaultest
heteronormal
comfortably-numb
# select a namespace for subsequent commands
$ kn comfortably-numb
# list all contexts and show current one
$ ktx
one-context
another-one
* the-selected-one
wish-i-was-selected
dont-select-me
# switch to a context
$ ktx dont-select-me
curl -s https://raw.githubusercontent.com/Corei13/shortk8s/master/shortk8s.sh >> ~/.zshrc
source ~/.zshrc
curl -s https://raw.githubusercontent.com/Corei13/shortk8s/master/shortk8s.sh >> ~/.bashrc
source ~/.bashrc