Kubernetes:A Complete DevOps Cookbook
上QQ阅读APP看书,第一时间看更新

Connecting to Alibaba Container Service clusters

To get access to your cluster on Alibaba Cloud, you need to follow these steps:

  1. To get the cluster's credentials, go to the Clusters menu and click on the cluster name you want to access:

  1. Copy the content displayed in the KubeConfig tab to your local machine's $HOME/.kube/config file:

  1. Verify your Kubernetes cluster:
$ kubectl get nodes

As an alternative, see the Viewing the Kubernetes Dashboard instructions under the There's more... section to manage your cluster.