Slow performance. So we have a few Spring Boot based webapps which were running (along with PgSQL) on a shared AWS t2.medium instance, we migrated these to a GKE cluster with a node pool of e2-standard-2 instances. The nodes are on a private network and don't have public IPs. The services are exposed via Load Balancer based Ingress (with SSL). Even after allocating one core to PgSQL and 2GB RAM, the API calls from th…
Ask HN: What is your Kubernetes nightmare?
51–60 of 263 posts
Re: Ask HN: What is your Kubernetes nightmare?
#52- 60% of the Kubernetes ecosystem is half-baked alpha software - Maintaining 200+ clusters for 10 small applications - Cloud bills - Autoscaling never working well - Trying to untangle Terraform state without taking down Prod
Re: Ask HN: What is your Kubernetes nightmare?
#53What are you fishing for exactly here? K8s has it's issues, but the way you have phrased the question is only going to get you biased answers.
Unlike, say, every opinion from engineers who are fond of "resume-oriented software development"?
Or every blog post from the dev team in a company that is working with kubernetes, even when there is absolutely no need to, but they do it anyway, because "it helps with hiring"?
Of course opinions, testimonials and even reports will be biased. They are still important anyway.
Re: Ask HN: What is your Kubernetes nightmare?
#54We have a few rules:
1. Read a good intro book cover-to-cover before trying to understand it.
2. Pay a cloud vendor to supply a working, managed Kubernetes cluster.
3. Prefer fewer larger clusters with namespaces (and node pools if needed) to lots of tiny clusters.
3. Don't get clever with Kubernetes networking. In fact, touch it as little as possible and hope really hard it continues to work.
This is enough to handle 10-50 servers with occasional spikes above 300. It's not perfect, but then again, once you have that many machines, pretty much every solution requires some occasional care and feeding.
My personal Kubernetes nightmare is having to build a cluster from scratch on bare metal.
Re: Ask HN: What is your Kubernetes nightmare?
#55You aren't supposed to use a tool made for Google level complexity unless you work with such complexity in the first place.
Also what is the alternative? Self-written unmaintainable bash-scripts? That's what they had before. Every team had their own way of deployment, creating packages,.... It was quite the nightmare.
To be fair, we use EKS, so a lot of the annoying work is done by AWS.
Re: Ask HN: What is your Kubernetes nightmare?
#56Re: Ask HN: What is your Kubernetes nightmare?
#57Re: Ask HN: What is your Kubernetes nightmare?
#58Honestly, creating my first K8s deployment of a service; typing out at least 150 lines of YAML to define my Deployment, figuring out how my ConfigMaps, Secrets, and Volumes, Services are defined and connected together. Vanilla K8s YAML is extremely low-level.
I'm a platform engineer and I still think that Kubernetes and its tooling are unnecessarily complex. As an aside, when I think "low-level" with regards to computer programming, I think machine byte code - closer to the hardware - so this statement read a little funny to me.
Re: Ask HN: What is your Kubernetes nightmare?
#59It's odd, but I actually really enjoy using Kubernetes in production. We have a few rules: 1. Read a good intro book cover-to-cover before trying to understand it. 2. Pay a cloud vendor to supply a working, managed Kubernetes cluster. 3. Prefer fewer larger clusters with namespaces (and node pools if needed) to lots of tiny clusters. 3. Don't get clever with Kubernetes networking. In fact, touch it as little as possi…
Re: Ask HN: What is your Kubernetes nightmare?
#60This is that I have to use yaml to configure k8s. Every k8sish tooling has it's own yaml API, including helm, gitops, argocd and friends, so you end up having a bunch of brittle and very hard to understand and maintain yaml files ... Sigh