Skip to content

Instantly share code, notes, and snippets.

@zycon
Created April 17, 2020 11:02
Show Gist options
  • Save zycon/3a97f259213dc770049959c6736bda22 to your computer and use it in GitHub Desktop.
Save zycon/3a97f259213dc770049959c6736bda22 to your computer and use it in GitHub Desktop.
kubernetes
merge config files
KUBECONFIG=~/.kube/config:~/.kube/config2 kubectl config view --flatten > ~/.kube/temp
mv ~/.kube/temp ~/.kube/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment