News for hackers. Stuff that matters.
Re:Yoke Is Cool by empath75 on Thursday March 06, 2025 @09:53AM (#43280921)
I've written a bunch of k8s operators in go (and rust more recently). That's how basically everyone working with k8s does once you reach a certain level of complexity.

I don't really understand, in fact, why you'd use yoke instead of just writing an operator with kubebuilder or kube-rs.

Re:Yoke Is Cool by Kinrany on Thursday March 06, 2025 @11:21AM (#43281934)
Supposedly it's a package manager as well, so if there's a package, you'd be able to use it without writing any code.
Re:Yoke Is Cool by davidmdm91 on Friday March 07, 2025 @09:02PM (#43296858)
Writing your own operator is a lot of complexity when what you want to do is deploy a package.

Via Yoke's AirTrafficController, it's easy to define a package as a CRD and its implementation (a program that takes the CR and outputs the desired underlying resources) and the AirTrafficController takes care of the rest.

You no longer need to think about reconciler loops, figuring out any orphaned state, etc.