Hey everyone! I'm just starting out in operator development and I'm feeling a little lost. I've searched for tutorials, but most of them focus on Kube-builder and the operator framework. The company I work for doesn't use those tools; we only work with client-go, api, machinery, code-generator, and controller-gen. There are so many concepts and interfaces that it's overwhelming! Can anyone suggest some quality resources or tips to help me get a better understanding? Thanks a lot!
5 Answers
It really depends on your Go skills. I recommend looking at the Kubernetes deployment controller's code. You can find it [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/deployment/deployment_controller.go). It's a good example with best practices for caching and setting up controllers.
You might also want to check out the operator-sdk. My team uses it a lot for developing operators, and it might suit your needs!
Check out the tutorials created by Gianluca Mardente for Sveltos. They’re really helpful! You can find them [here](https://github.com/gianlucam76/kubernetes-controller-tutorial).
In my opinion, Kube-builder is the best way to go unless you're trying to understand the nitty-gritty of how controllers work. Even then, figuring it all out without Kube-builder could be challenging.
I’d suggest creating a basic operator using Kube-builder that outputs a simple message when a pod changes. It's a great way to start, and once you're comfortable, you can gradually expand its functionality. Just make sure you have a solid grasp of Go first!
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String