Skip to content

Commit 2a80f8a

Browse files
authored
Merge pull request #64601 from adellape/cat_note
2 parents 80bee0c + 791591b commit 2a80f8a

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

modules/olm-cs-health.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * operators/understanding/olm/olm-understanding-olm.adoc
4+
5+
[id="olm-cs-health_{context}"]
6+
= Catalog health requirements
7+
8+
Operator catalogs on a cluster are interchangeable from the perspective of installation resolution; a `Subscription` object might reference a specific catalog, but dependencies are resolved using all catalogs on the cluster.
9+
10+
For example, if Catalog A is unhealthy, a subscription referencing Catalog A could resolve a dependency in Catalog B, which the cluster administrator might not have been expecting, because B normally had a lower catalog priority than A.
11+
12+
As a result, OLM requires that all catalogs with a given global namespace (for example, the default `openshift-marketplace` namespace or a custom global namespace) are healthy. When a catalog is unhealthy, all Operator installation or update operations within its shared global namespace will fail with a `CatalogSourcesUnhealthy` condition. If these operations were permitted in an unhealthy state, OLM might make resolution and installation decisions that were unexpected to the cluster administrator.
13+
14+
As a cluster administrator, if you observe an unhealthy catalog and want to consider the catalog as invalid and resume Operator installations, see the "Removing custom catalogs" or "Disabling the default OperatorHub catalog sources" sections for information about removing the unhealthy catalog.

operators/understanding/olm/olm-understanding-dependency-resolution.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ include::modules/olm-properties.adoc[leveloffset=+1]
1616
include::modules/olm-dependencies.adoc[leveloffset=+1]
1717
include::modules/olm-generic-constraints.adoc[leveloffset=+1]
1818
include::modules/olm-dependency-resolution-preferences.adoc[leveloffset=+1]
19+
20+
[role="_additional-resources"]
21+
[id="additional-resources_dependency-resolution-preferences"]
22+
=== Additional resources
23+
24+
* xref:../../../operators/understanding/olm/olm-understanding-olm.adoc#olm-cs-health_olm-understanding-olm[Catalog health requirements]
25+
1926
include::modules/olm-dependency-resolution-crd-upgrades.adoc[leveloffset=+1]
2027

2128
[role="_additional-resources"]

operators/understanding/olm/olm-understanding-olm.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ include::modules/olm-overview.adoc[leveloffset=+1]
1212
include::modules/olm-crds.adoc[leveloffset=+1]
1313
include::modules/olm-csv.adoc[leveloffset=+2]
1414
include::modules/olm-catalogsource.adoc[leveloffset=+2]
15-
1615
[role="_additional-resources"]
1716
.Additional resources
1817
@@ -25,6 +24,13 @@ include::modules/olm-catalogsource.adoc[leveloffset=+2]
2524
* xref:../../../operators/admin/olm-cs-podsched.adoc#olm-cs-podsched[Catalog source pod scheduling]
2625
2726
include::modules/olm-catalogsource-image-template.adoc[leveloffset=+3]
27+
include::modules/olm-cs-health.adoc[leveloffset=+3]
28+
[role="_additional-resources"]
29+
.Additional resources
30+
31+
* xref:../../../operators/admin/olm-managing-custom-catalogs.adoc#olm-removing-catalogs_olm-managing-custom-catalogs[Removing custom catalogs]
32+
* xref:../../../operators/admin/olm-managing-custom-catalogs.adoc#olm-restricted-networks-operatorhub_olm-managing-custom-catalogs[Disabling the default OperatorHub catalog sources]
33+
2834
include::modules/olm-subscription.adoc[leveloffset=+2]
2935
3036
[role="_additional-resources"]

support/troubleshooting/troubleshooting-operator-issues.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ If you experience Operator issues, verify Operator subscription status. Check Op
1616

1717
// Operator subscription condition types
1818
include::modules/olm-status-conditions.adoc[leveloffset=+1]
19+
[role="_additional-resources"]
20+
.Additional resources
21+
22+
* xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-cs-health_olm-understanding-olm[Catalog health requirements]
1923
2024
// Viewing Operator subscription status by using the CLI
2125
include::modules/olm-status-viewing-cli.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)