Tutorial request: k3s for developers, from container to scale (on own servers, without k8s knowledge) #3396
Replies: 2 comments 1 reply
-
Have you looked at the Rancher Academy course on k3s? |
Beta Was this translation helpful? Give feedback.
-
Every now and then I still think about kubernetes and using k3s. It sounds like a great proposition, having all-in-one, easy setup, reverse proxy ready. If the was only a simple BEST PRACTICE K3S document. Why is there no single article describing how to deploy my web-service with k3s/traefik and scale it to multiple nodes? When searching for k3s and traefik you find 10s of articles - that explain how they DISABLE traefik and use another proxy instead. Why is traefik bundled with k3s when seemingly nobody is using it? Why is there not a single article how to make use of the k3s preferred choice of tools? Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Dear k3s team,
it would be great to get a developer friendly tutorial how to use k3s and its preferred tools to move from a dev container to a production cluster. I am looking for a bare metal ("dedicated server" with linux) simple command line tutorial without the need of learning Terraform, Vagrant, Ansible, Helm, BGP and so on and so forth.
Currently we have an external high-available load-balancer, 3 ingress servers running Traefik and Docker Swarm Masters, and multiple worker nodes. We spin up 3+ containers for each tennant, they automatically register with Traefik and are available load-balanced via their sub-domain.
Docker Swarm has served us well as a very easy to use tool to get started, but we seem to have some minor issues with high loads. At the same time no-one seems to be using Docker Swarm nowadays, related GitHub projects are mostly dormant. K3s seems to be a good alternative, especially as the initial setup seems as easy as Docker Swarm.
What I haven't found so far is an overarching tutorial of how to scale a web container with k3s on own servers. Yes, it is k8s compatible, but at the same time it has some tools build in and/or preferred, so a dedicated tutorial would be helpful. And it would be great to NOT have a lot of external tools which need to be understood and maintained. For starters it's just easier to setup a new server every month by hand instead of learning yet another tool to do this automatically. And for GDPR and money saving reasons our infrastructure is on dedicated servers, even A18z recognised cloud is expensive. To make live easier our scenario just uses an external load balancer.
It should include (using Docker Swarm terms here)
For reference a post which gets Traefik and a web service up and running on Docker Swarm with two config files and 3 CLI commands.
Beta Was this translation helpful? Give feedback.
All reactions