top | item 37380608

(no title)

jbnorth | 2 years ago

Why even use kubernetes then? You’d be better off just deploying the applications with docker compose on the host.

discuss

order

mplewis|2 years ago

Kubernetes makes it reasonably painless to wire up things like ingress and supports nice features such as operators.

benterix|2 years ago

I'd argue ingress is even easier with Docker Compose. As for operators, it depends, but e.g. database operators are not really necessary on a single node cluster as you don't have discrepancies between nodes.

smashed|2 years ago

I like the fact you qualified ingress as "reasonably" painless.

Frankly it is not painless at all. Ingress is complicated and there is a ton of way to configure it, with all the forced tie in with the cloud provider's offering, be it l3 or l4 load balancing, various proxy services, etc.

It's not easy at all either on docker-compose. You have to roll your own proxy container and take care of TLS termination, cert renewals, manage specific headers and config, etc.

I am not sure what exactly I want to add to the conversation, only that either way, it's not "easy". I'd be glad to be proven wrong if you have a specific solution that makes ingress really painless.