Skip to main content
Connect to the cluster
Last update:

Connect to the cluster

To start working with the cluster, you need to configure kubectl.

For your information

We recommend that all actions with nodes, balancers and disks in the cluster be done only through kubectl.

After certificate updates for system components you must reconnect to the cluster.

  1. Install the Kubernetes kubectl console client by official instruction.

  2. В control panels go to Cloud platformKubernetes.

  3. Open the cluster page → tab Settings.

  4. If you use private kube API, check access to it. IP address is specified in the field Kube API.

  5. Click Download kubeconfig. Downloading the kubeconfig file is not available if the cluster status is PENDING_CREATE, PENDING_ROTATE_CERTS, PENDING_DELETE or ERROR.

  6. Export to an environment variable KUBECONFIG path to the kubeconfig file:

    export KUBECONFIG=<path>

    Specify <path> — path to the kubeconfig file имя_кластера.yaml.

  7. Check if the configuration is correct — access the cluster via kubectl:

    kubectl get nodes

    Nodes must be in status Ready.