# 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