Once a cluster is running, you control it from your own computer with kubectl, the standard Kubernetes tool.
Steps
- Install kubectl. The Kubernetes project provides it for Mac, Windows and Linux. On Mac,
brew install kubectl; on Linux, download the binary; on Windows, use the installer orwinget. - Download your kubeconfig. In the console, open your cluster under Kubernetes and download its kubeconfig file. This file authenticates you to the cluster.
- Point kubectl at it. Either save it as
~/.kube/config, or setexport KUBECONFIG=/path/to/configin your terminal for that session. - Test it. Run
kubectl get nodes. You should see your worker nodes listed asReady.
From here you use Kubernetes normally: kubectl apply -f your manifests, kubectl get pods, and so on. When you expose a service of type LoadBalancer, Kubernetes automatically requests a load balancer and a public IP.
If kubectl cannot connect, the usual causes are the wrong kubeconfig file, a KUBECONFIG pointing at the wrong path, or the cluster not being finished provisioning yet. To change the cluster size, see Scale a cluster.