One Kubeconfig file, ~/.kube/admin.conf, is for the admin user:
I obtained the other Kubeconfig file, ~/.kube/shaw.conf, when I signed in to the portal https://k8s.optiputer.net/, as shaw@ucsc.edu, for the very first time:
KUBECONFIG environment variable
The first option is to use the KUBECONFIG environment variable to switch between the two Kubeconfig files:
or
$HOME/.kube/config
Or we can merge the 2 Kubeconfig files into a single file ~/.kube/config (which is the default Kubeconfig file); and make minor modifications so that the file content looks as follows (see also Configure Access to Multiple Clusters):
Now we can switch user by changing current context: