How can we help?

Search our guides and tutorials, or browse the categories below.

How do I connect to my k3s cluster?

Apps 113 views Markdown
  1. In the panel, open My servers and click your server.
  2. On the Overview tab, wait for the App row to say "k3s is ready". The page refreshes itself.
  3. Note the address in the Connection address row.

Connecting from your computer

  1. Get the file: scp root@IP:/etc/rancher/k3s/k3s.yaml ~/.kube/config
  2. Replace 127.0.0.1 in the file with your server's IP address.
  3. 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!

Still Need Help?

If you can't find what you need, get in touch.