Is there a way to merge the MicroK8s Kubernetes config (microk8s kubectl config view
) with my local ~/.kube/config
? I know one can do some shenanigans by playing around with two files, but it would be very helpful to do that by default (like Kind and Minikube) or have a specific Microk8s command.
Yes, I was thinking about this recently. It isn’t that tricky to merge two configs with kubectl as it has the --flatten
option to do that, but it is somewhat annoying to have to.
You can retrieve the config with microk8s config
but it would be fairly easy to have that grow an --export
option.