Created
November 12, 2020 13:59
-
-
Save gpr/26ff11d3bacd5d9f82328e2b90014c4b to your computer and use it in GitHub Desktop.
[How to merge kubeconfig files?] Merge several configuration to manage them as context #k8s #kubernetes #kubectl
This file contains 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
KUBECONFIG=file1:file2:file3 kubectl config view --merge --flatten > config.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment