Add alias kl="{path to the script}
to either .bash or .zshrc.
Add alias kc="{path to the script}
to either .bash or .zshrc.
Add alias kd="{path to the script}
to either .bash or .zshrc.
Add alias ki="{path to the script}
to either .bash or .zshrc.
Add alias klf="{path to the script}
to either .bash or .zshrc.
Run source .bash or source .zshrc
.
Run export KUBECONFIG=$KUBECONFIG:$HOME/.kube/kubeconfig.yaml
to export configs.
# kc {environment}
# kc {environment} {namespace}
# klf {deployment-name}
# kl {servicename} {last n lines from logs} {search by this word in logs}.
# kl {servicename} 0 {search by this word in whole logs}.
# kl {servicename}
# kd {servicename}