How do I connect to my k3s cluster?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "k3s is ready". The page refreshes itself.
- Note the address in the Connection address row.
Connecting from your computer
- Get the file:
scp root@IP:/etc/rancher/k3s/k3s.yaml ~/.kube/config - Replace
127.0.0.1in the file with your server's IP address. - Try it:
kubectl get nodes
k3s kubectl get pods -A also works directly on the server.
Good to know
- The Traefik ingress comes installed and uses ports 80 and 443. The Kubernetes API is on port 6443.
- The k3s.yaml file is the cluster's full access key, so do not share it.
No server yet? Order a server with k3s installed: you choose the size and pay for what you choose.
Was this helpful?
Thanks for your feedback!