einfra logoDocumentation
Kubernetes

Kubectl

kubectl is a powerful tool for interacting with Kubernetes clusters. For installation, see the official documentation. Once installed, kubectl requires a kubeconfig file to function. You can download this file from the cluster overview dashboard (click on the cluster name in the upper left dropdown menu).

kube config

Copy the downloaded file’s contents into $HOME/.kube/config, then set the file permissions to 700:

chmod 700 $HOME/.kube/config

If the file $HOME/.kube/config does not exist, create it before copying the contents.

You can store multiple cluster configurations in a single config file.

Last updated on

publicity banner

On this page

No Headings
einfra banner