Overview

Kubernetes operators provide a way to extend Kubernetes functionality to handle automating tasks, application-specific logic, custom resources, and so on. With operators, we can borrow many good designs and built-in supports from Kubernetes, such as declarative APIs, state-driven reconciling logic, and event informers. We can have easy-to-use APIs in the form of CRDs, where we can still use kubectl to interact with Kubernetes.

In this lesson, we’ll go over some best practices for creating and maintaining operators. Kubernetes exposes REST HTTP APIs. This means that operators can actually be implemented in any programming language, such as Go, Java, etc. However, normally, we implement using Go, so we can use various Go libraries around the Kubernetes ecosystem. This is why most developers and SRE operators use Go to implement their operators.

Get hands-on with 1200+ tech skills courses.