Come vedete configurare questi shortcut quando si lavora su kube?
alias k=kubectl # will already be pre-configured
export do=‘–dry-run=client -o yaml’ # k create deploy nginx --image=nginx $do
export now=‘–force --grace-period 0’ # k delete pod x $now
alias kg=‘kubectl get’
alias kgp=‘kubectl get pods’
alias kgd=‘kubectl get deployment’
alias kgs=‘kubectl get service’
alias kga=‘kubectl get all’
alias kgaa=‘kubectl get all -A’
alias kd=‘kubectl delete’
alias kdp=‘kubectl delete pod --grace-period=0 --force’
alias kcf=‘kubectl create -f’
alias kaf=‘kubectl apply -f’
alias kgc=‘kubectl config get-contexts’