3 ms·
I'm just waiting for someone to make a kubernetes config generator based on googles GCL (not opensource, but this is an opensource clone of it, although withou
by londons_explore 8y ago
I'm just waiting for someone to make a kubernetes config generator based on googles GCL (not opensource, but this is an opensource clone of it, although without k8s integration/examples: https://github.com/rix0rrr/gcl https://github.com/rix0rrr/gcl).
I feel it has almost limitless flexibility, without requiring either boilerplate or complexity where you don't need it. Nothing else comes close in that regard.
- justicezyx 8y agoDisclaimer: I maintain borg’s configuration tool, which was gcl originally. Gcl is terse, dead simple in most common areas. It appears the best general purpose configuration language I’ve seen so far.
- londons_explore 8y agoThe main caveat of the above is that GCL is so powerful, it's easy to write crazily complex puzzles in it. Just because you can write a mandlebrot fractal generator in your config language, does not mean you should. And you can bet the person to write the configs of that service you inherited did enjoy seeing quite how far they could stretch the flexibility of GCL...
- justicezyx 8y agoWell we have good ways to solve these problem, Complexity management in programming language is a well understood problem, I see plenty of low hanging fruits. Also trrseness has nothing to do with complexity. Gcl did not have much language syntax sugar intended for terseness. It’s just naturally simple in choices of right abstractions.
- dilyevsky 8y agoHashicorp comes pretty close with their new edition of HCL at least in terms of language. It’s still more flexible in its output (unlike gcl where the output is protos). If you are familiar with google’s piccolo this is closer to that.
- guslees 8y agoI wrote kubecfg as an unashamed imitation of borgcfg, because for all that we like to complain - borgcfg + GCL + git works extraordinarily well. Kubecfg uses jsonnet, which is similarly openly inspired by GCL (but with some important changes). https://jsonnet.org/ https://jsonnet.org/ https://github.com/ksonnet/kubecfg https://github.com/ksonnet/kubecfg Example real-world usage: https://github.com/anguslees/k8s-home https://github.com/anguslees/k8s-home