Este contenido no está disponible en el idioma seleccionado.
Chapter 6. opm CLI
6.1. About opm Copiar enlaceEnlace copiado en el portapapeles!
The
opm
An index contains a database of pointers to Operator manifest content that can be queried through an included API that is served when the container image is run. On OpenShift Container Platform, Operator Lifecycle Manager (OLM) can use the index image as a catalog by referencing it in a
CatalogSource
Additional resources
- See Operator Framework packaging formats for more information about the bundle format.
- To create a bundle image using the Operator SDK, see Working with bundle images.
6.2. Installing opm Copiar enlaceEnlace copiado en el portapapeles!
You can install the
opm
Prerequisites
For Linux, you must provide the following packages. RHEL 8 meets these requirements:
-
version 1.9.3+ (version 2.0+ recommended)
podman -
version 2.28+
glibc
-
Procedure
- Navigate to the OpenShift mirror site and download the latest version of the tarball that matches your operating system.
Unpack the archive.
For Linux or macOS:
$ tar xvf <file>- For Windows, unzip the archive with a ZIP program.
Place the file anywhere in your
.PATHFor Linux or macOS:
Check your
:PATH$ echo $PATHMove the file. For example:
$ sudo mv ./opm /usr/local/bin/
For Windows:
Check your
:PATHC:\> pathMove the file:
C:\> move opm.exe <directory>
Verification
After you install the
CLI, verify that it is available:opm$ opm versionExample output
Version: version.Version{OpmVersion:"v1.15.4-2-g6183dbb3", GitCommit:"6183dbb3567397e759f25752011834f86f47a3ea", BuildDate:"2021-02-13T04:16:08Z", GoOs:"linux", GoArch:"amd64"}