Live data from Hacker News

Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

statusdude.com

41–50 of 81 posts

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#41

Mandatory mention: https://www.macchaffee.com/blog/2024/you-have-built-a-kubern... But yeah, pretty cool DNS resolving features in HAProxy, that's nifty

I‘ve built this anti-k8s stance pre-LLMs, and just realized that, actually, agents should be pretty helpful in dealing with it? Is avoiding kubernetes still advisable for projects that will likely never use its full complexity, given how easy it is to maintain now?

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#42
post #2

What's the thought behind having white and light grey text on a light grey background?

Looks like “dark mode” implementation attempt which missed setting the background to black.

Its black background and white text on my screen. So either the OP saw the comments and fixed it or some people in this thread have weird settings. Or maybe I have weird settings...hmmm.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#43
>P.S Nginx would do too, I just felt like getting haproxy up this time :)

I think this line summarizes better than anything. Perfect example of how move fast and break things begins gloriously at first then inevitably, the breaking you thought you were doing hasn't even started and you find out what that part means.

I've always been the one saying "this is going to be a problem in a couple months" then I get shot down for "being negative." Then in a couple of of months when it fails I start getting aggression thrown at me "oh i know you want to say I told you so" and such even though I've never said such a thing when something fails. No. I would just like you to hear out my thoughts even when they may not be what you want to hear. We are all working towards the same goal.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#44
post #2

What's the thought behind having white and light grey text on a light grey background?

Are the people here not looking at the article or bots? How on Earth does anyone read this?

I tweaked the css in my browser with developer tools.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#46

so op just recreated with sticks and tape a very basic feature what k8s does out of the box, and nobody else would be able to support his creation, because its handrolled adhoc with sparse documentation. sounds like ghetto engineering

[flagged]

It's totally fine to not to use k8s. Personally, I think I have made several good decisions in my career to use/avoid k8s in different scenarios.

But if someone wrote a blog to brag about not using k8s, they can't stop people from wanting to compare their work against k8s. If there's any arrogance in the air, it feels stronger on the other side.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#47
It's actually fun to see this. Running systems in a lot of different ways are just interesting. I do however get kinda sad at the hate at k8s because it's really good at what it does.

I've seen so many projects bending over backwards to avoid k8s and pay large cloud bills to avoid it at all costs. (ECS and app services are hopelessly expensive and bothersome)

K8s is really good, pretty easy to maintain, but a bit hard to understand. Mostly because distributed, zero down time systems are a bit hard to get by nature. But if you have someone that wants to take it on I've managed k8s clusters, solo, without incident, while doing lots of other stuff too (working with larger teams now though). Not to mention there's a lot of competence out there that can take over if I'd move on. Most of the deep complexity comes with more advance use cases, that wont show up for smaller deployments.

That said, no h8 towards going your own way! If your a solo developer (or small team) for a smallish project, don't feel the absolute need. If you get to the point you need it you should be earning enough to start paying someone to help ya get your app to a distributed system like k8s.

I think it's good to invest the time in understanding k8s though as a professional. Even if you won't directly run it it teaches you a lot about how to think about distributed, zero downtime systems. And what requirements that puts on an app.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#48
post #38

so op just recreated with sticks and tape a very basic feature what k8s does out of the box, and nobody else would be able to support his creation, because its handrolled adhoc with sparse documentation. sounds like ghetto engineering

Perhaps we should look the other way: why use K8s if podman-compose can do the same? Maybe we should deprecate it and move towards simpler and more robust solutions?

If all you have is a hammer, everything looks like a nail.

Re: Zero-Downtime Deployments with Docker Compose – No Kubernetes Required

#50

>P.S Nginx would do too, I just felt like getting haproxy up this time :) I think this line summarizes better than anything. Perfect example of how move fast and break things begins gloriously at first then inevitably, the breaking you thought you were doing hasn't even started and you find out what that part means. I've always been the one saying "this is going to be a problem in a couple months" then I get shot dow…

[deleted]
Post reply on HN