This week I had the opportunity to start writing a new Kubernetes Controller, at Coralogix most of the services are Rust based.
So I decided to give a try to rust and kube-rs, since I’m not a rustician, that would be a great opportunity to learning
Writing a simple controller took me some time to be honest.
Even with Cursor auto completion it wasn’t that easy, docs are not clear about how kube-rs works
So far it's going ok, I'm missing some shortcuts that kubebuilder offers, like the scaffolding using kubebuilder cli and also the whole testing structure we have available.
kube-rs is very straightforward, but you need to write a lot of things by yourself, at least this is my experience while working on this during a week.
About Rust itself, I can't talk much at the moment, I'm on the very beginning, so I'm still trying to understand the barebones.
One thing that for sure I can say, and I think it's obvious, is the fact that you write a lot of code while comparing with GoLang, Rust is very verbose IMO