• Home
  • Write an Operator

Challenge your skills by creating a basic Kubernetes operator.

Write an Operator

Challenge your skills by creating a basic Kubernetes operator.
Write an Operator

People who run workloads on Kubernetes often like to use automation to take care of repeatable and complex tasks. The operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides. If you are unfamiliar with operators, you may want to start with this documentation first .

This is a developer skill assessment lab to help strengthen your understanding of how to write a basic operator using the operator-sdk and the Go language. This challenge closely follows the RedHat instructions on how to create a basic functional operator in the “ Go Operator Tutorial .” To give you an edge, you may want to review that page before starting this challenge.

All the challenge instructions will guide you through the necessary steps, even if you are new to operators.

In the challenge, you will be asked to:

    ☐ Install a generic container image registry
    ☐ Install the Operator SDK
    ☐ Generate a skeleton operator project written in Go
    ☐ Add key logic to the operator code
    ☐ Build the operator and deploy to Kubernetes
    ☐ Verify the operator is running
    ☐ Adjust a custom manifest to manage the operator state

This challenge will self-destruct in 60 minutes.

  • LEVEL

    Intermediate

  • DURATION

    45 minutes

  • UPDATED

    31 Dec, 2021

Categories