Re:Ask HN: Why is Kubernetes so complicated?
by stop50 on Thursday February 22, 2024 @05:15AM
(#39465229)
because its designed to run on many servers.
[ Parent
| on HN ]
Re:Ask HN: Why is Kubernetes so complicated?
by falkensmaze66 on Friday February 23, 2024 @10:52AM
(#39482111)
docker swarm also runs on many servers yet i've found its easier to deploy and manage. k8s is super complicated in comparison
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.