Connecting to the Kubernetes cluster

To get access to your Kubernetes cluster, you need to follow these steps:

  1. Copy the configuration file from the master1 node:
$ scp root@master:/etc/kubernetes/admin.conf ~/.kube/config
  1. Now, use kubectl to manage your cluster.