4 ms·
> Kubernetes was originally written in Java and rewritten in Go after some Go advocates joined the team. Just to be clear, this didn't go very far. It's more l
by boulos 4y ago
> Kubernetes was originally written in Java and rewritten in Go after some Go advocates joined the team.
Just to be clear, this didn't go very far. It's more like Brendan was willing to write Java, and a lot of other folks hate it. I don't think any of the core folks were Go advocates, just most of "us" were C/C++ people. Docker itself being in Go, meant it would lower a lot of friction, and besides we had great tooling for Go.
tl;dr: It was really "Should we (re)write this in C++? Eh, how about Go?".
- pjmlp 4y agoThe history told at FOSDEM was a bit different, if I remember correctly. And to come back to my point, if Docker or Kubernetes were invented today, I bet they would be using Rust or Zig instead of Go.
- boulos 4y agoMaybe! I'd definitely argue for the Kubelet to be in Rust, if starting from scratch. The apiserver is less clear. But note that at Google it's unclear those would be written in Rust even today.