by wouldbecouldbe · 3y ago · 0 comments
I checked the apps of a bunch of clients. None of them loaded. I was like what...
I checked the server. Everything down.
I'd been running Kubernetes on Digital Ocean. And Digital Ocean forced a Kubernetes update that was incompatitable with mine at night.
Took me 8 hours to fix it. No sleep. Ended up moving it back to a good old VPS. And throw away K8s.
Now to be fair, I had been getting warnings with deployments. But I was used to that, Kubernetes has 10 updates per week. I dont have time to update K8S or my helm files every week.
So yeah it was my fault, but I was used to good old VPS hosting. There is an old php application I've build 5 years ago with Laravel, that never needs anything. I did some updates and patches, but it always just works.
Im used to running node on apache or nginx, even though a bit less stable, still almost never crashes.
Kubernetes there is always something. I guess there are reasons to choose it, but it's not stability.
I ended up taking the plane, and my daughter was super kind and patient. But no more kubernetes for me.
Been running managed Kubernetes in GCP for years without any issues.
They are bugging me to update for some time now, but I don't think they would force an update on me.
I once tried nomad because it claimed to be simpler. I stopped when I realized I’d also have to use multiple clusters to run a cluster (nomad+consul).
I use k3s because I build apps for multiple clients and I like the flexibility that it gives me in running servers like cattle.
My point is that these orchestrators need to start decreasing the enormous amount of risk they add to any project.
If you want a Kubernetes cluster that never gets forcibly updated or shut down, you should not be using a managed service, period.
How do they test that across the infinite number of permutations of configurations and deployments of K8S in the field though? It'll work for some people on the happy path, but it's really hard to maintain over time. Worse, it'll break randomly at some point in the future that is hard to predict, instead of at some publicly announced point in time where the breaking change is deployed (how it happened this time).
Still worked on my test cluster. It was a throw away site, so I didn’t even bother fixing it. And, I honestly can’t tell you what went wrong. Just deploying docker compose, often with ansible, is the most reliable for me at most scales.
When going in I assumed there are some kind of standard way to implement ingresses/loadbalancers but no, it's just different plugins each with different syntax and features.
have a look at k3s and maybe you will like kubernetes more again. There is no magic to it. Have a faulty node? spin up a new one.
And if your hoster is kind enough, there will even be apis with cloudinit for you to do that.
Im not trying to imply that you need a managed k3s with this post, but rather trying to show how easy kubernetes can be if you leave the big clouds and try not to overcomplicate things.
After dutifully updating EKS releases and AMIs it seems to have fixed itself last year.
EKS seems to be fine generally, but it would be nice if they didn't release new AMIs with missing commits?? [1] and especially [2]
[1] https://github.com/aws/containers-roadmap/issues/319
[2] https://github.com/awslabs/amazon-eks-ami/issues/278#issueco...