No internet connection
  1. Home
  2. General

How to Set Up KUBECONFIG on Windows

By @wisepaas.training2020-05-04 08:18:39.851Z

How to Set Up KUBECONFIG on Windows


1. Download config file from the Management Portal
Save the config file to the .kube folder under the user's home directory %HOME%\.kube.

For example, C:\Users{YourAccount}.kube.

  1. Set up the system environment variable KUBECONFIG
    Open System Properties. Click Environment Variables.
3. Under System Variables, if you don't see any variable called KUBECONFIG, click New to create one. If you do have the variable, select the variable and click Edit. 4. Add or append the file path of the new config file. Note that you need to enter the exact full path for the config. %HOME% will not work for this setting. 5. Verify the new config.

Type kubectl config view

You should see the new cluster name in the output.

  • 1 replies
  1. Danielle Watson @watdaniel2020-06-04 12:38:11.421Z

    Hello, Thanks a lot for this explenation