#tips
Tag
-
Using multiple config files with kubectl and other Kubernetes tools
If you want to point tools like
kubectlto a config file other than~/.kube/configyou can set the environment variableKUBECONFIG. But did you know thatKUBECONFIGbehaves sort of like a path, andkubectlwill load all the config files it finds? -
How to merge Kubernetes kubectl config files
Sometimes when working with a new Kubernetes cluster you will be given a config file to use when authenticating with the cluster. This file should be placed at
~/.kube/config. However you may already have an existing config file at that location and you need to merge them together.