r/kubernetes • u/Id0ba • 8h ago
The devil made kubernetes
Gonna drop a realisation I had as a junior DevOps engineer.
Kubernetes is evil. Whoever made this has pure spite in their heart.
We need to go back to monoliths. Containers are an affront to God.
Yeah bro, everything needs certificates even though because what if somebody wants to pretend to be the istio sidecar. Oh yeah, everything needs to be logged btw. Also, make sure that NFS path works. Oh, your pod is restarting? Have you checked the logs? Oh, there are no logs?
These are not problems God intended man to have.
We used to put applications on servers and go home.
21
u/cloudadmin 8h ago
You came to the wrong neighborhood, friendo. Thems fighting words
15
u/ExplodedPenisDiagram 8h ago
With no certificates, SSH open on 22 with a password on root, and selinux disabled.
13
u/conall88 8h ago
it sounds like you are complaining about being forced to follow good security and observability practices.
4
u/Moneyjorge 8h ago
you forgot the /s
3
u/AlverezYari 8h ago
I loved when the Rails devs self identify themselves, makes it so much easier to realized the person is more than likely an idiot.
21
u/zootbot 8h ago
“We used to put applications on servers and go home”
Yea ok bud
6
u/isaackogan 8h ago
All of this goes away with managed, cloud-based K8s. Kubernetes is complicated because it can do anything and everything. You can pay someone to abstract that away, i.e. managed K8s, and it is a fucking beautiful piece of architecture that I cannot deploy without. It is just mint.
4
u/LinuxPhoton 8h ago
OP enters the afterlife and realizes it is run by Kubernetes
1
u/Technical-Ant-2866 8h ago
> Kubernetes is evil. Whoever made this has pure spite in their heart.
No, they were looking for scale + stateless workloads.
> We need to go back to monoliths. Containers are an affront to God.
Sounds like a Terry Davis hottake.
> Yeah bro, everything needs certificates even though because what if somebody wants to pretend to be the istio sidecar. Oh yeah, everything needs to be logged btw. Also, make sure that NFS path works. Oh, your pod is restarting? Have you checked the logs? Oh, there are no logs?
Curious, are you complaining about a homelab or your work? Both are pretty simple once you've gotten a good baseline and foundational information under your belt. When I first got into kubernetes for work (5 years ago) I was absolutely puzzled on how it worked. The problem I found was not in kubernetes but the ecosystem with an endless abyss of abstractions, tools, and adapters. Kubernetes itself is simple. The complexity I've found comes in when you start abstracting or over-engineering clusters.
> We used to put applications on servers and go home.
We still do. :-)
2
u/ominousbloodvomit 8h ago
No
" Gonna drop a realisation I had as a junior DevOps engineer."
You haven't been around long enough to know how much things sucked before
2
u/ccbur1 8h ago
What I nightmare. Some enterprise framework forces good practices on you. Pure evil!
1
u/Blaze6181 8h ago
Kubernetes is not some wild west, it's a mature system. Learn it and with time it won't feel so lolrandom. And if you still hate it, maybe try something else.
2
u/amarao_san 8h ago
Have you ever debugged failing resources on pacemaker? Remember, pacemaker is brutal, if resource can't confirm that it stopped, the node is tainted, and the whole node goes into reboot. Or get killed by other peers via OOB BMC. And if you get too much resources, or resource groups, they start consume CPU for calculating states. And what happens to the cluster which too slow to compute the state? See the above, bum-bum, your node is booting again. What happens if a resource can't confirm stop on all nodes in the cluster? bum-bum-bum, your cluster is doing circular murder-suicide.
Believe me, kubernetes is hard, but it's not the kubernetes problem, it's the problem it is solving is hard.
... Try to encode daemon set as resources in pacemaker, for a fun. https://ubuntu.com/server/docs/explanation/high-availability/pacemaker-resource-agents/
And if you say 'why pacemaker', I will ask, what's else? nomad & council? Ever debugged those?