konfig - kubectl config file manager, cli tool for backuping, viewing and merging
of kubectl config files that are usually stored in ~/.kube/
folder and also is
an example of simple but usefull app build using cobra library
If you need a more advanced tool, you might take a look at kubecm
To install this app, simply type
go install github.com/ansavin/konfig@latest
konfig show
- show current kubeconfigkonfig merge /path/to/another/config
- merge current kubeconfig and another one situated at /path/to/another/configkonfig backup
- to create a backup of current kubeconfigkonfig restore
- to restore kubeconfig from backup