VSHN.timer #58: Writing Kubernetes Operators

31. Aug 2020

Welcome to another VSHN.timer! Every Monday, 5 links related to Kubernetes, OpenShift, CI / CD, and DevOps; all stuff coming out of our own chat system, making us think, laugh, or simply work better.
This week we’re going to talk about tools, tips, and tricks to write Kubernetes Operators.
1. One of the primary mechanisms to create Kubernetes Operators is through the Operator Framework created by Red Hat, closely related to their Operator Hub. And the definitive guide to learn how to write powerful, maintainable operators is O’Reilly’s “Kubernetes Operators” book by Jason Dobies and Joshua Wood, available as a free download.
2. How do you verify the code test coverage in your operators? This guide will provide some insight.
3. Want to write Kubernetes Operators? Here’s Red Hat’s 7 best practices for doing so. TL;DR: apply common sense.
4. Not everybody is happy with the Operator Framework. Darren Shepherd, CTO and Founder of Rancher Labs (who we had already quoted in our previous edition about operators) published an interesting thread in Twitter recently, exposing his opinion, and as usual, definitely worth a read.

5. Would you like to use something a bit less convoluted than the Operator Framework? Why not giving the shell-operator a try? It is marketed by their creators as “operator-sdk but for scripts.” Here’s a nice guide to learn how to use it.
Have you written or published operators? Do you use the Operator Framework? What’s your opinion on the current state of this ecosystem? Get in touch with us through the form at the bottom of this page, and see you next week for another edition of VSHN.timer.
PS: would you like to receive this every Monday in your inbox? Subscribe to our new VSHN.timer newsletter!

Adrian Kosmaczewski

Adrian Kosmaczewski is in charge of Developer Relations at VSHN. He is a software developer since 1996, a trainer, and a published author. Adrian holds a Master in Information Technology from the University of Liverpool.

Contact us

Our team of experts is available for you. In case of emergency also 24/7.

Contact us