Skip to content

Instantly share code, notes, and snippets.

@mauriballes
Created July 1, 2022 20:21
Show Gist options
  • Save mauriballes/a4683540bbd012d9f72d29195f6e4170 to your computer and use it in GitHub Desktop.
Save mauriballes/a4683540bbd012d9f72d29195f6e4170 to your computer and use it in GitHub Desktop.
Merge multiples Kubeconfigs files

Merge kubeconfig files

KUBECONFIG="/path/cluster1.config:/path/cluster2.config" kubectl config view --flatten > ~/.kube/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment