News for hackers. Stuff that matters.
Re:A Kubernetes Operator in Rust by pqb on Tuesday April 18, 2023 @10:29AM (#35614484)
What's wrong with the Golang-based operators? Why do you prefer Rust to be used in the operator?
Re:A Kubernetes Operator in Rust by rektide on Tuesday April 18, 2023 @10:33AM (#35614540)
Diversity is good.
Re:A Kubernetes Operator in Rust by jwandborg on Tuesday April 18, 2023 @11:54AM (#35615718)
I think it's a breath of opportunity to hear that there is tooling for Rust to write Kubernetes operators, previously my impression is that there is no match for Golang when it comes to writing operators, and that has invited me to try and learn Golang and the codegen that comes with writing operators, but I never enjoyed trying to learn things about Golang, the language feels like an exercise in ambiguous minimalism to me personally.
Re:A Kubernetes Operator in Rust by rad_gruchalski on Tuesday April 18, 2023 @12:44PM (#35616417)
> previously my impression is that there is no match for Golang when it comes to writing operators

Strimzi exists for some time and they use Java.

Re:A Kubernetes Operator in Rust by jen20 on Wednesday April 19, 2023 @09:47AM (#35628078)
Have you tried using kube-rs? It removes many of the sharp edges of client-go, and is a pleasure to with with. It also has much tighter dependency discipline than the Go library.

There are other reasons to prefer Rust (sum types just to name one) but the quality of the Kubernetes client alone is enough to prefer it over Go in this case.

Re:A Kubernetes Operator in Rust by Patrickmi on Friday April 21, 2023 @08:47AM (#35652894)
So what’s the usefulness of the above mentioned when library quality is like heaven and earth?
Re:A Kubernetes Operator in Rust by nunez on Friday April 21, 2023 @11:54PM (#35663197)
Nothing! It's just good to see some language diversity here.