News for hackers. Stuff that matters.
Re:Pkl, a Programming Language for Configuration by fzeindl on Sunday February 04, 2024 @12:43AM (#39247918)
Especially since k8s allows using arbitrary labels for plugins, effectively creating „stringly typed“ programming.

Nobody is stopped from compiling code, converting it to base64 and storing it into a label for later execution.

Arbitrary parameters like this are the opposite of a unifying abstraction.

That ingress-behavior wasn‘t defined but pluggable to suit existing load balancers also broke the abstraction.

Re:Pkl, a Programming Language for Configuration by flir on Sunday February 04, 2024 @06:49AM (#39249527)
I do feel there's a simple abstraction under there somewhere - k8s config is just a big tree, after all. And adding pkl's loops on top of that would probably reduce a lot of duplication.