Struggling with Operator Development, Need Guidance!

0
1
Asked By CuriousCoder42 On

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

Answered By GolangGuru99 On

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.

Answered By OperatorNinja23 On

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!

Answered By TechSavvy88 On

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).

Answered By FrameworkFanatic On

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.

Answered By DevExplorer77 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.