Running your Operator
In Chapter 6, Building and Deploying Your Operator, we demonstrated ways to build and run an Operator manually by either compiling locally or building a Docker image to run in a Kubernetes cluster. But, neither of these methods is directly compatible with the OLM, so in order to provide an Operator that can be installed by the OLM, the Operator must be prepared with a bundle that contains metadata about the Operator in a format that the OLM understands. Then, this bundle can be passed to the OLM, which will handle the rest of the installation and life cycle management of the Operator.
Generating an Operator's bundle
An Operator's bundle consists of various manifests that describe the Operator and provide additional metadata, such as its dependencies and APIs. Once created, these manifests can be compiled into a bundle image, which is a deployable container image that is used by the OLM to install the Operator in a cluster.
The simplest way to...