4 ms·
Why do you need a 'specialized programming language' when kube for most people, is just waiting for various objects via api? I mean, sure, ATM it can be a bit
by cyberpunk 4y ago
Why do you need a 'specialized programming language' when kube for most people, is just waiting for various objects via api?
I mean, sure, ATM it can be a bit painful to generate your 'Deployment' object in json or yaml or whatever, but then it's just a post to the kubeapi and it's done.. You can do that in any language you want..
What am I missing?
- pdimitar 4y agoYou're missing the part where people do this periodically and can never truly remember all the gotchas so they make small mistakes with time that at one point make your cluster fall over with cryptic error messages. I've seen it (but as I said above I am by no means a k8s pro). That's why there are these linters. Having a small super-specialized language that catches errors before "compiling" your configuration to an YAML will help hugely.
- adamgordonbell 4y agoDhall for kubernetes might be what you are looking for. https://github.com/dhall-lang/dhall-kubernetes https://github.com/dhall-lang/dhall-kubernetes
- pdimitar 4y agoHa, nice, I'll take a look -- thanks.