Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

command to set ns in kubectl

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: #command #set #ns #kubectl
ADD COMMENT
Topic
Name
5+3 =