Page cover

How to use kubeconfig on Windows

After you have successfully downloaded kubeconfig on the Deka GPU Service Portal. The following is a guide to using kubeconfig on the Windows operating system.

Configure kubectl

The first step to be able to use kubectl is to download the kubectl file first. To be able to download kubectl, you can use two methods, namely:

  1. First way Download directly to this page. Make sure to choose the version that suits the architecture you are using, and save the kubectl.exe file on your device. After successfully downloading kubectl.exe, move kubectl.exe to the desired folder.

folder kubectl

In the "windows search bar" on your computer, enter "env". Select “Edit the system environment variables”.

Edit System Variables

Add path from kubectl folder.

  1. Second way Download using curl command. To be able to use curl, run the following command.

curl.exe -LO "https://dl.k8s.io/release/v1.31.0/bin/windows/amd64/kubectl.exe"

To find out the latest version, see this page.

If you have successfully downloaded kubectl, open CMD/Powershell on your computer, and check the version of kubectl that is installed.

kubectl version --client

Last updated