Credentials file
To access Kubernetes containers through Visual Studio Code or the command line utility kubectl, you need a local credentials file generated by Rancher.
The KubeConfig YAML file tells local applications how to access the Kubernetes cluster icekube.
-
In Rancher:
- click the button Download KubeConfig to download the file
icekube.yaml
- click the button Download KubeConfig to download the file
-
In Linux:
- save the file to
~/.kube/config - set file permissions with
chmod 600 ~/.kube/config
- save the file to
-
In Windows:
- save the file to
C:\Users\username\.kube\config
- save the file to
