News for hackers. Stuff that matters.
Re:Ask HN: Why is Kubernetes so complicated? by stop50 on Friday February 23, 2024 @11:05AM (#39482325)
How does docker swarm coordinate that an container needs to be started 5 times and how does it balance the load?
Re:Ask HN: Why is Kubernetes so complicated? by falkensmaze66 on Friday February 23, 2024 @11:41AM (#39482849)
you can designate 5 replicas through a service file, its pretty basic but does the job:

services: myservice: image: myimage replicas: 5

you can also determine how many hosts are running replicas based on the current usage and available resources. quite similar to k8s yet easier to manage, at least for me.

i think more of deployment aspects, for docker you literally just install docker and add your hosts, for k8s it's dependent on what you want, rancher, k3s, microk8s or other and setups differ very much on what you might want.