The Operator Lifecycle Manager (OLM) is a set of cluster resources that manage the lifecycle of an Operator. The Operator SDK supports both creating manifests for OLM deployment, and testing your Operator on an OLM-enabled Kubernetes cluster.
This document is intended to quickly walk through the steps to generate an OLM bundle. For further explanation, or if you’re using package manifests, see the Bundle Tutorial.
Important: this guide assumes your project was scaffolded with operator-sdk init --project-version=3
. These features are unavailable to projects of version 2
or less; this information can be found by inspecting your PROJECT
file’s version
value.
0.0.1
.cluster-admin
permissions.operator-sdk olm install
will attempt to install a basic OLM deployment on your cluster.$ export USERNAME=<container-registry-username>
$ export VERSION=0.0.1
$ export IMG=docker.io/$USERNAME/memcached-operator:v$VERSION // location where your operator image is hosted
$ export BUNDLE_IMG=docker.io/$USERNAME/memcached-operator-bundle:v$VERSION // location where your bundle will be hosted
This will prompt you to enter basic information about your operator.
$ make bundle-build bundle-push
$ operator-sdk bundle validate $BUNDLE_IMG
$ operator-sdk run bundle $BUNDLE_IMG
Next Steps
Read the full tutorial for a more in-depth look at creating and using a bundle.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4