Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubectl switch namespace command

kubectl config set-context --current --namespace=<insert-namespace-name-here>
# Validate it
kubectl config view --minify | grep namespace:
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubectl #switch #namespace #command
ADD COMMENT
Topic
Name
9+3 =