Looking for Good Examples of Well-Architected Operators in Go

0
1
Asked By TechyTurtle123 On

I'm trying to enhance my understanding of developing custom operators in Go and would love to see some examples of operators that you think have really solid codebases. I'm particularly interested in aspects such as how they manage finalization, handle status conditions, and implement logging or telemetry—basically, anything that reflects good clean code practices.

5 Answers

Answered By LearnFast22 On

Make sure to check out the Kubebuilder docs at https://book.kubebuilder.io/. It’s packed with the info you’d need to answer many of your questions about operators.

Answered By KubeExplorer88 On

Here are some more operators worth looking into:
- External secrets
- External DNS
- Flux (and I'd assume ArgoCD will be similar)
- Prometheus operator
- oh, and definitely the Victoria Labs project as well.

Answered By CodeNinja007 On

Check out the cloudnative-pg operator here: https://github.com/cloudnative-pg/cloudnative-pg. I also recommend looking at the OpenTelemetry operator: https://github.com/open-telemetry/opentelemetry-operator. Both have impressed me with their design!

Answered By DataWhiz101 On

Grafana Operator is a solid choice as well: https://github.com/grafana/grafana-operator. Just a heads up, though, it has an interesting backstory of its own! I've been part of some chaotic projects, and there's quite a tale here regarding its journey.

Answered By DevGuru99 On

A great operator is cert-manager found at https://github.com/cert-manager/cert-manager. It’s exemplary for several reasons in the Go arena!

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.