Skip to main content
Connect to the cluster

Connect to the cluster

To get started with the cluster, you need to configure kubectl.

For your information

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

After you update the certificates for system components, you must reconnect to the cluster.

  1. Install the Kubernetes kubectl console client.

  2. In the dashboard, on the top menu, click Products and select Managed Kubernetes.

  3. Open the cluster page → Settings tab.

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

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

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

    export KUBECONFIG=<path>

    Specify <path> is the path to the kubeconfig file name_cluster.yaml.

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

    kubectl get nodes

    Nodes must be in Ready status.