O'Reilly logo

Kubernetes Operators by Joshua Wood, Jason Dobies

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Running Operators

The first section of this chapter outlines the requirements for running the experiments that make up the rest of this book, and offers some advice on how to establish access to a Kubernetes cluster that satisfies them. The second section exercises that environment and illustrates what Operators can do by installing and using one.

Setting up an Operator Laboratory

To build, test, and run Operators in the following chapters, you’ll need cluster-admin access to a cluster running Kubernetes version v1.11.0 or later. If you’ve already met these requirements, you can skip ahead. This section offers general advice to readers who need to set up a Kubernetes cluster, or who need a local environment for Operator development and testing cycles.

Cluster Version Requirements

We’ve tested the experiments and examples in this book with Kubernetes releases v1.11 up to v1.15. We will state when any feature or action we examine requires a release later than 1.11.

Control Plane Extensibility

The API extension mechanism known as a Custom Resource Definition (CRD) was introduced in elemental form as the Third Party Resource (TPR) in Kubernetes version 1.2. Since then, the components on which Operators build have multiplied and matured. CRDs were formalized with the Kubernetes version 1.7 release.

Figure 2-1: Extensibility Features per Kubernetes Release
Figure 2-1. Extensibility Features per Kubernetes Release

As we saw in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required