1. Set-up desired namespace as default if you want to work with it for longer period : |
---|
Edit your bashrc and add this lines:
i. vi ~/.bashrc
ii. Paste this and save:
alias ns='kubectl config set-context $(kubectl config current-context) --namespace'
iii. Restart terminal and use:
ns YOURNAMESPACE