• Home
  • Operator SDK with Go

Start writing an Operator using Go

Operator SDK with Go

Start writing an Operator using Go
Operator SDK with Go

In this lab, you will experience what it’s like to create and run a Kubernetes Operator that manages a custom resource. The Operator is created using the Operator SDK tool along with some Go code. This lab closely follows the Operator SDK documentation for building an Operator using Go .

The Operator pattern is an important technique to extend and build upon the basic features of Kubernetes. Operators are controllers with roles that observe and manage associated CustomResourceDefinitions (CRDs) . There are a variety of projects that provide tools to build Operators. The Operator SDK is one prominent technique.

In this lab, you will learn how to:

    ☐ Modify, build, and test code with an Operator SDK skeleton project
    ☐ Create a new CRD named Memcached using Go structs and automation
    ☐ Create a controller for observing and managing the Memcached custom resources
    ☐ Control the Memcached group using a declarative manifest and associated controller

It’s assumed that you are an application developer who is somewhat familiar with Kubernetes, containers, and Go.

  • LEVEL

    Intermediate

  • DURATION

    30 minutes

  • UPDATED

    12 Jul, 2022