Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubernetes config context change environment/cluster


kubectx <cluster-name>

# Set the location of the Kubernetes configs
export KUBECONFIG=$(find ~/.kube/config ~/.kube/configs -type f 2>/dev/null | paste -s -d : -)
Source by addono.medium.com #
 
PREVIOUS NEXT
Tagged: #kubernetes #config #context #change
ADD COMMENT
Topic
Name
2+2 =