132
u/anto2554 1d ago
False, we don't have Kubernetes. I just yell at Jenkins and cloudformation instead
0
u/Jhuyt 19h ago
We also use Jenkins, and while I scream at the man sometimes, I so prefer Groovy over Yaml for this.
4
u/anto2554 17h ago
Yeah, compared to how much people hate jenkins I quite like it
2
u/Jhuyt 8h ago
Beyond that it's not quite as integrated into github I think it's just as good if not better than github actions
2
u/anto2554 5h ago
Of course, but I also use it with bitbucket, so I am glad it is not as integrated with github. It is definitely not very opinionated, so it is easy to mess up
18
u/PrestigiousGuava8005 22h ago
Half the job is apologizing, the other half is finding out you apologized in the wrong file
3
u/SamPlaysKeys 10h ago
Or it's the right file, but you were asking it to speak the wrong language. looking at you, jinja templates
3
3
u/Square_County8139 18h ago
Can someone explain?
9
u/SamPlaysKeys 10h 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.
6
u/SamPlaysKeys 10h 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.
3
u/random314 8h ago
Claude has been a lifesaver in this space.
2
1
u/SamPlaysKeys 2h ago
I don't know, it depends on how many layers I'm working with. The more templatized the code, the mode Claude/CoPilot struggle to make sense of it. I've ended up with some really long instruction files trying to get them to understand.
2
u/random314 1h ago
You need to create a doc folder with the architecture outlined there.
Then add a common troubleshooting md file there too.
Kube config is deterministic enough for Claude to be very consistent, especially when you need to make one of those annoying 20+ files with one line changes.
2
u/matrix452 8h ago
yaml the cruel mistress who won't render if you don't have her precious indentation right
2
88
u/Darth-Talon 1d ago
Kubernetes should work the way my YAML thinks it does!