loader
image/svg+xml
  • Data centers and network
  • Products and services
  • Industries
  • Support
  • News
  • About us

Knowledge Base

Accessing a cluster

To deploy applications, inspect and manage cluster resources, you need to use the Kubernetes command-line tool – kubectl (see the installation instructions).

In order for kubectl to find and access a Kubernetes cluster, it needs a configuration file (kubeconfig file). Download the configuration file for your cluster from the "Kubernetes Cluster Details" page in the Customer Portal:

Export KUBECONFIG environment variable with the path to the config file as a value:

export KUBECONFIG=~/.kube/k8s_config_CLUSTER-NAME.yaml

Check that kubectl is properly configured by getting the cluster state:

kubectl cluster-info