Re:Podman Desktop 1.6 released: Even more Kubernetes and Con...
by ofrzeta on Wednesday December 20, 2023 @11:56AM
(#38710749)
Besides CNI networking potentially encompasses Services, Endpoints/Slices, Load Balancers, Ingresses and most recently the Gateway API. I'd say that's quite a bit complex.
Re:Podman Desktop 1.6 released: Even more Kubernetes and Con...
by vbezhenar on Wednesday December 20, 2023 @12:45PM
(#38711369)
Kubernetes allows you to make complex networking, which is especially useful for cluster setups involving multiple nodes. But if you're comparing kubernetes with docker, docker does not have load balancers, ingresses, so you can just skip it, if you feel that it's too much of complexity. They're not mandatory.
With docker you'll probably bind container port to the host. With kubernetes you can create Service of type NodePort and it's exactly the same.
Load balancing: I'm not really sure what do you mean, what do you use for docker load balancing? Just expose your kubernetes host to the Internet and that's about it. Or hide it behind separate reverse proxy, if you want.
Mounting directory from the host is supported with kubernetes, no problems here. Use hostPath volume in the pod spec.