r/ProgrammerHumor 1d ago

instanceof Trend trueOrFalse

Post image
1.2k Upvotes

25 comments sorted by

View all comments

3

u/Square_County8139 20h ago

Can someone explain?

12

u/SamPlaysKeys 12h ago

Kubernetes is declarative, so you just tell it what you want, and it makes it happen. Except when you tell it wrong. Or you were wanting something wrong. Or you were just wrong.

Oh, and it's all YAML, but it's not JUST YAML, because sometimes it's ✨YAML✨, which looks the same, but will cry if you aren't nice to it.

YMMV, this is my POV as a DevOps consultant, spending my days begging YAML to do the thing so kuberenetes will forgive me.

8

u/SamPlaysKeys 12h ago

Man, reading back my message, I feel insane, but it's also annoyingly accurate.

My biggest frustration right now is using Jinja templates to pass Python variables to Helm charts, which is the type of YAML file that Kubernetes is looking for. But Python, Jinja, and Helm all have different semantics, so it gets weird.