Access Your Cluster from Terminal
To access your cluster from your terminal, follow these steps:
Install kubectl
You will need to install the Kubernetes CLI (kubectl).
Download your cluster's Kubeconfig
- Click the Download Kubeconfig button in the cluster details page.
- Now copy your Kubeconfig file somewhere safe, and copy the file path (e.g.
/home/user/my-cluster-123/admin.conf
).
Define the KUBECONFIG environment variable
- Open a terminal and run the following command:
Done!
You may now access your cluster using the kubectl
command ! Try it out:
Allow Scheduling on Single Node Cluster
Single Node Cluster
If you are using a single node cluster, you need to allow scheduling on the node.
Next Steps
Configure Load Balancer
Add a load balancer to your cluster to allow public access to your cluster.