You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/olm-operatorhub-overview.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
8
8
_OperatorHub_ is the web console interface in {product-title} that cluster administrators use to discover and install Operators. With one click, an Operator can be pulled from its off-cluster source, installed and subscribed on the cluster, and made ready for engineering teams to self-service manage the product across deployment environments using the Operator Lifecycle Manager (OLM).
9
9
10
+
ifndef::openshift-origin[]
10
11
Cluster administrators can choose from catalogs grouped into the following categories:
11
12
12
13
[cols="2a,8a",options="header"]
@@ -28,6 +29,7 @@ Cluster administrators can choose from catalogs grouped into the following categ
28
29
|Custom Operators
29
30
|Operators you add to the cluster yourself. If you have not added any Custom Operators, the Custom category does not appear in the web console on your OperatorHub.
An index image, based on the Operator Bundle Format, is a containerized snapshot
28
-
of an Operator catalog. You can prune an index of all but a specified list of
29
-
packages, creating a copy of the source index containing only the Operators
30
-
that you want.
29
+
An index image, based on the Operator Bundle Format, is a containerized snapshot of an Operator catalog. You can prune an index of all but a specified list of packages, creating a copy of the source index containing only the Operators that you want.
When configuring Operator Lifecycle Manager (OLM) to use mirrored content on restricted network {product-title} clusters, use this pruning method if you want to only mirror a subset of Operators from the default catalogs.
33
+
34
+
For the steps in this procedure, the target registry is an existing mirror registry that is accessible by both your cluster and a workstation with unrestricted network access. This example also shows mirroring the default `{catalog-name}` catalog, but the process is the same for all catalogs.
where `<namespace>` is any existing namespace on the registry. For example, you might create an `olm-mirror` namespace to push all mirrored content to.
136
+
where `<namespace>` is any existing namespace on the registry.
Operator catalogs that source content from Quay.io are configured for
13
-
OperatorHub by default during an {product-title} installation. Before
14
-
configuring OperatorHub to instead use local catalog sources in a restricted
15
-
network environment, you must disable the default catalogs.
12
+
Operator catalogs that source content provided by Red Hat and community projects are configured for OperatorHub by default during an {product-title} installation. Before configuring OperatorHub to instead use local catalog sources in a restricted network environment, you must disable the default catalogs.
16
13
17
14
.Procedure
18
15
19
-
* Disable the sources for the default catalogs by adding
20
-
`disableAllDefaultSources: true` to the OperatorHub spec:
16
+
* Disable the sources for the default catalogs by adding `disableAllDefaultSources: true` to the OperatorHub spec:
An Operator catalog is a repository of metadata that Operator Lifecycle Manager (OLM) can query to discover and install Operators and their dependencies on a cluster. OLM always installs Operators from the latest version of a catalog. As of {product-title} 4.6, Red Hat-provided catalogs are distributed using _index images_ from Quay.io.
9
+
An Operator catalog is a repository of metadata that Operator Lifecycle Manager (OLM) can query to discover and install Operators and their dependencies on a cluster. OLM always installs Operators from the latest version of a catalog. As of {product-title} 4.6, Red Hat-provided catalogs are distributed using _index images_.
10
10
11
11
An index image, based on the Operator Bundle Format, is a containerized snapshot of a catalog. It is an immutable artifact that contains the database of pointers to a set of Operator manifest content. A catalog can reference an index image to source its content for OLM on the cluster.
12
12
@@ -15,6 +15,7 @@ An index image, based on the Operator Bundle Format, is a containerized snapshot
15
15
Starting in {product-title} 4.6, index images provided by Red Hat replace the App Registry catalog images, based on the deprecated Package Manifest Format, that are distributed for previous versions of {product-title} 4. While App Registry catalog images are not distributed by Red Hat for {product-title} 4.6 and later, custom catalog images based on the Package Manifest Format are still supported.
16
16
====
17
17
18
+
ifndef::openshift-origin[]
18
19
The following catalogs are distributed by Red Hat:
19
20
20
21
.Red Hat-provided Operator catalogs
@@ -39,10 +40,10 @@ The following catalogs are distributed by Red Hat:
|Software maintained by relevant representatives in the link:https://github.com/operator-framework/community-operators[operator-framework/community-operators] GitHub repository. No official support.
42
-
43
43
|===
44
+
endif::[]
44
45
45
-
As catalogs are updated, the latest versions of Operators change, and older versions may be removed or altered. This behavior can cause problems maintaining reproducible installs over time. In addition, when OLM runs on an {product-title} cluster in a restricted network environment, it is unable to access the catalogs from Quay.io directly to pull the latest content.
46
+
As catalogs are updated, the latest versions of Operators change, and older versions may be removed or altered. In addition, when OLM runs on an {product-title} cluster in a restricted network environment, it is unable to access the catalogs directly from the Internet to pull the latest content.
46
47
47
48
As a cluster administrator, you can create your own custom index image, either based on a Red Hat-provided catalog or from scratch, which can be used to source the catalog content on the cluster. Creating and updating your own index image provides a method for customizing the set of Operators available on the cluster, while also avoiding the aforementioned restricted network environment issues.
0 commit comments