Get a kubeconfig#

Note

The following documentation assumes you have installed kubectl for your OS. Follow the steps here if you have not.

What is a kubeconfig?#

In kubernetes (k8s) you access and interact with the k8s cluster by using a kubeconfig. The link provides much more in depth information but in summary the kubeconfig is a yaml file that contains the server address, certificates, and secret information to securely authenticate to the cluster. In order to interact with a k8s cluster we need to obtain the kubeconfig for that cluster and either store it in a known location or specify the location of the file.

Login to Rancher#

The link to NCARs Rancher instance is always at the top of this documentation under the Resources tab. Navigate to rancher, provide your CIT credentials, and select Log in with ActiveDirectory.

Note

In the username field please specify the domain before your username : ie. CIT\username