operator-framework / operator-lifecycle-manager

A management framework for extending Kubernetes with Operators
https://olm.operatorframework.io
Apache License 2.0
1.7k stars 542 forks source link

Offline Installation of OLM #1964

Open lengrongfu opened 3 years ago

lengrongfu commented 3 years ago

OLM how to Offline Installation?

exdx commented 3 years ago

Hi @lengrongfu, could you be more specific? Are you referring to a disconnected cluster?

There are some pretty extensive docs around using OLM in a disconnected environment, but this is openshift specific so it assumes that OLM is already present on cluster (it is packaged with the default openshift payload).

Installing OLM on a standard kubernetes cluster, assuming the latest v0.17 release would be fairly straightforward via the install.sh script. Just make sure that all the image references in the olm.yaml file are in the mirrored registry and then run the install script and I believe it should work. The images are as follows:

quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
quay.io/operatorhubio/catalog:latest