Kubernetes contexts

Today we had to work on switching between two kubernetes clusters.  The commands of the day are:

It’s surprisingly not so simple.  Perhaps there are tools out there that people know of to make it easier?  What I’ve been doing is taking to ~/.kube/config files and concatenating them together.  As an example, my config file looks as follows:

Notice how we combine them together.  Then I can switch contexts using the commands above.  I’ll have ccp or bm.