Jan 6, 2021
Thanks for all the useful tips! That makes my Kubernetes life much easier.
BTW, I think there is an missing semicolon in the fifth line in part 2:
alias ksn='_f(){k get namespace $1 > /dev/null; if [ $? -eq 1 ]; then return $?; fi; k config set-context $(k config current-context) --namespace=$1; echo "Namespace: $1";};_f'