3 ms·
Can anyone advise what is the most common language used in enterprise settings for interfacing with K8s?
by jb1991 2y ago
Can anyone advise what is the most common language used in enterprise settings for interfacing with K8s?
- JohnMakin 2y agoIME almost exclusively golang.
- roshbhatia 2y ago++, most controllers are written in go, but there's plenty of client libraries for other languages. A common pattern you'll see though is skipping writing any sort of code and instead using a higher level dsl-ish configuration usually via yaml, using tools like Kyverno.
- angio 2y agoI'm seeing a lot of custom operators written in Rust nowadays. Obviously biased because I do a lot of rust myself so people I'm talking to also do rust.
- gadflyinyoureye 2y agoDepends on what you mean. Helm will control a lot. You can make the yaml file in any language. Also you can admin it from command line tools. So again any language but often zsh or bash.
- cortesoft 2y agoA lot of yaml
- yen223 2y agoThe fun kind of yaml that has a lot of {{ }} in them that breaks your syntax highlighter.
- mplewis 2y agoI have seen more Terraform than anything else.
- akdor1154 2y agoOn the platform consumer side (app infra description) - well schema'd yaml, potentially orchestrated by helm ("templates to hellish extremes") or kustomize ("no templates, this is the hill we will die on"). On the platform integration/hook side (app code doing specialised platform-specific integration stuff, extensions to k8s itself), golang is the lingua franca but bindings for many languages are around and good.
- bithavoc 2y agoIf you’re talking about connecting to Kubernetes and create resources programmatically, Pulumi allows you to interface with it from all the languages they support(js, ts, go, c#, python) including wrapping up Helm charts and inject secrets( my personal favorite). If you want to build your own Kubernetes Custom Resources and Controllers, Go lang works pretty well for that.