Created
December 28, 2023 08:21
-
-
Save thomanhphuc/3b515d622725416fc149ca7acc086c3c to your computer and use it in GitHub Desktop.
merge two config kube
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp ~/.kube/config ~/.kube/config.bak | |
KUBECONFIG=~/.kube/config.1:~/.kube/config.2 kubectl config view --flatten > ~/.kube/config_tmp | |
mv ~/.kube/config_tmp ~/.kube/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment