Skip to content

Retreive and install kubectl config

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. You will need to install the binary and download the config so kubectl can target the correct cluster.

Install Kubectl

Follow the official instructions to install kubectl on your desired OS.

Configure Kubectl

After creating your Kubernetes cluster you will receive a kubeconfig file. Copy this file to ~/.kube. For Windows users $HOME is equal to the %userprofile%/.kube directory. Rename the file to config and you are good to go.

You can now run kubectl commands and access the cluster:

kubectl get all