February 2018
Beginner
290 pages
7h 28m
English
Working on the Kubernetes cluster will now become cumbersome, as we will then have to switch the configuration files every time we operate on the different clusters. There is a script that can combine the different Kubernetes configurations into a single file, which we can switch with the --context switch.
The load-kubeconfig tool is available at https://github.com/Collaborne/load-kubeconfig. The tool can be installed with the following command:
sudo npm install -g load-kubeconfig
Once installed, we will then add the two configurations that we procured earlier. We will first change the names of the context in the files before we can load it. In the following example, we replace ...
Read now
Unlock full access