Kubernetes:A Complete DevOps Cookbook
上QQ阅读APP看书,第一时间看更新

Installing Operator Lifecycle Manager

Before you can install applications using Red Hat Operator Framework Operators, you need to install Operator Lifecycle Manager (OLM). Note that OLM is installed by default in OpenShift 4.0 and precedent.

  1. Install OLM. It is required for our next recipe, Installing the Zalando PostgreSQL Operator:
$ kubectl create -f https://raw.githubusercontent.com/Operator-framework/Operator-lifecycle-manager/master/deploy/upstream/quickstart/crds.yaml
$ kubectl create -f https://raw.githubusercontent.com/Operator-framework/Operator-lifecycle-manager/master/deploy/upstream/quickstart/olm.yaml

Now you have OLM installed to test some stateful running applications using an Operator Framework.