by mixedCase · 4y ago · 0 comments
But for pete's sakes man, if you have used K8s before, know what you're doing and you're running on cloud, just shove a couple off-the-shelf Terraform modules at the problem and there's your execution environment needs solved, with easy and reliable automations available for handling certs, external access, load balancing, etc, all of it reasonably easy to get going once you have done it before.
Stop pretending Kubernetes is this humongous infrastructure investment that mandates a full time job to keep up at low scale. Of course if you have done this multiple times before you don't need to be told this, but people new to it shouldn't be fed a barrage of exaggerations.
I've seen projects fail or take 10x as long due to choosing to go with k8s day 1 instead of starting with even a basic VM.
It may be easy enough to get k8s itself setup. However, without an in-house expert sat within the dev team, all the access/permissions to resources to/from the cluster were hell. NFS disk Read/Write, S3 Read/Write/List, RDS DB access, Kafka access, corp network access to web server within k8s.. and then all the daemons you need to actually be able to monitor your logs/health of apps/etc.
Each of these things in isolation would be no big deal, except that they'd take a different subset of 10 different infra/devops team members 1-2 weeks to sort the first time, in some fragile manner that frequently fell over.
All of these for an application that was replacing something basically owned by 1 dude as 10% of his job, running on a 10 year old server under cron, with a big disk attached.
Well, with Kubernetes this became container images versions and operator versions that can't be upgraded. Though I agree with your in general.
Honestly I feel like the original blog post shouldn't be talking about k8s at all. The real lesson, as far as I can tell, is just "when you're starting out, choose simple tech that you already know how to use."
If you already know how to use Kubernetes, then feel free to use it. If not then don't.
For example NFS you need to make sure the underlying hardware the k8s is running on has the mount, and then that the pods within have that access.
Whatever host level config you need to do on the VM needs to be basically replicated within each of your container images for the pods you want to run, no?
Then you have the same update cycle except across N container images instead of 1 VM?
It is a full time job. The cost of using something is not just the setup cost. The same way that software development is not just the cost of writing the software.
I've set up EKS multiple times across different companies with few nodes and everything runs smoothly all of the time.
Can you go into detail?
"It's easy to setup" speaks nothing to how much effort it takes to maintain.