Skip to content

Commit a34340c

Browse files
Merge pull request #50830 from michaelryanpeter/osdocs-4198-optional-ocp-operators
OSDOCS-4198: Explain optional capabilities
2 parents bd14b5d + 171d207 commit a34340c

File tree

6 files changed

+207
-13
lines changed

6 files changed

+207
-13
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * operators/operator-reference.adoc
4+
// * post_installation_configuration/cluster-capabilities.adoc
5+
6+
ifeval::["{context}" == "cluster-operators-ref"]
7+
:operator-ref:
8+
endif::[]
9+
10+
ifeval::["{context}" == "cluster-capabilities"]
11+
:cluster-caps:
12+
endif::[]
13+
14+
:_content-type: REFERENCE
15+
[id="cluster-bare-metal-operator_{context}"]
16+
ifdef::operator-ref[= Cluster Baremetal Operator]
17+
ifdef::cluster-caps[= Bare-metal capability]
18+
19+
ifdef::operator-ref[]
20+
21+
[NOTE]
22+
====
23+
The Cluster Baremetal Operator is an optional cluster capability that can be disabled by cluster administrators during installation. For more information about optional cluster capabilities, see "Cluster capabilities" in _Post-installation configuration_.
24+
====
25+
26+
endif::operator-ref[]
27+
28+
[discrete]
29+
== Purpose
30+
31+
ifdef::cluster-caps[]
32+
33+
The Cluster Baremetal Operator provides the features for the `baremetal` capability.
34+
35+
endif::cluster-caps[]
36+
37+
The Cluster Baremetal Operator (CBO) deploys all the components necessary to take a bare-metal server to a fully functioning worker node ready to run {product-title} compute nodes. The CBO ensures that the metal3 deployment, which consists of the Bare Metal Operator (BMO) and Ironic containers, runs on one of the control plane nodes within the {product-title} cluster. The CBO also listens for {product-title} updates to resources that it watches and takes appropriate action.
38+
39+
ifdef::cluster-caps[]
40+
The bare-metal capability is required for installer provisioned installation (IPI) deployments. Disabling the bare-metal capability can result in unexpected problems with IPI deployments.
41+
42+
It is recommended that cluster adminstrators only disable the bare-metal capability during user-provisioned installations (UPI) that do not have any `BareMetalHost` resources in the cluster.
43+
44+
[IMPORTANT]
45+
====
46+
If the bare-metal capability is disabled, the cluster cannot provision or manage bare-metal nodes. Only disable the capability if there are no `BareMetalHost` resources in your deployment.
47+
====
48+
endif::cluster-caps[]
49+
50+
ifdef::operator-ref[]
51+
52+
[discrete]
53+
== Project
54+
55+
link:https://github.com/openshift/cluster-baremetal-operator[cluster-baremetal-operator]
56+
57+
endif::operator-ref[]
58+
59+
ifeval::["{context}" == "cluster-operators-ref"]
60+
:!operator-ref:
61+
endif::[]
62+
63+
ifeval::["{context}" == "cluster-caps"]
64+
:!cluster-caps:
65+
endif::[]

modules/cluster-samples-operator.adoc

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,50 @@
11
// Module included in the following assemblies:
22
//
33
// * operators/operator-reference.adoc
4+
// * post_installation_configuration/cluster-capabilities.adoc
45

6+
// operators/operator-reference.adoc
7+
ifeval::["{context}" == "cluster-operators-ref"]
8+
:operator-ref:
9+
endif::[]
10+
11+
// post_installation_configuration/cluster-capabilities.adoc
12+
ifeval::["{context}" == "cluster-capabilities"]
13+
:cluster-caps:
14+
endif::[]
15+
16+
:_content-type: REFERENCE
517
[id="cluster-samples-operator_{context}"]
6-
= Cluster Samples Operator
18+
ifdef::operator-ref[= Cluster Samples Operator]
19+
ifdef::cluster-caps[= OpenShift samples capability]
20+
21+
ifdef::operator-ref[]
22+
23+
[NOTE]
24+
====
25+
The Cluster Samples Operator is an optional cluster capability that can be disabled by cluster administrators during installation. For more information about optional cluster capabilities, see "Cluster capabilities" in _Post-installation configuration_.
26+
====
27+
28+
endif::operator-ref[]
729

830
[discrete]
931
== Purpose
1032

33+
ifdef::cluster-caps[]
34+
The Cluster Samples Operator provides the features for the `openshift-samples` capability.
35+
endif::cluster-caps[]
36+
1137
The Cluster Samples Operator manages the sample image streams and templates stored in the `openshift` namespace.
1238

1339
On initial start up, the Operator creates the default samples configuration resource to initiate the creation of the image streams and templates. The configuration object is a cluster scoped object with the key `cluster` and type `configs.samples`.
1440

1541
The image streams are the {op-system-first}-based {product-title} image streams pointing to images on `registry.redhat.io`. Similarly, the templates are those categorized as {product-title} templates.
1642

43+
ifdef::cluster-caps[]
44+
If you disable the samples capability, users cannot access the image streams, samples, and templates it provides. Depending on your deployment, you might want to disable this component if you do not need it.
45+
endif::[]
46+
47+
ifdef::operator-ref[]
1748
The Cluster Samples Operator deployment is contained within the `openshift-cluster-samples-operator` namespace. On start up, the install pull secret is used by the image stream import logic in the internal registry and API server to authenticate with `registry.redhat.io`. An administrator can create any additional secrets in the `openshift` namespace if they change the registry used for the sample image streams. If created, those secrets contain the content of a `config.json` for `docker` needed to facilitate image import.
1849

1950
The image for the Cluster Samples Operator contains image stream and template definitions for the associated {product-title} release. After the Cluster Samples Operator creates a sample, it adds an annotation that denotes the {product-title} version that it is compatible with. The Operator uses this annotation to ensure that each sample matches the compatible release version. Samples outside of its inventory are ignored, as are skipped samples.
@@ -33,3 +64,12 @@ Upon deletion of the samples resource, the Cluster Samples Operator recreates th
3364
== Project
3465

3566
link:https://github.com/openshift/cluster-samples-operator[cluster-samples-operator]
67+
endif::operator-ref[]
68+
69+
ifeval::["{context}" == "cluster-operators-ref"]
70+
:!operator-ref:
71+
endif::[]
72+
73+
ifeval::["{context}" == "cluster-caps"]
74+
:!cluster-caps:
75+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Module included in the following assemblies:
2+
//
3+
// *post_installation_configuration/cluster-capabilities.adoc
4+
5+
:_content-type: REFERENCE
6+
[id="explanation_of_capabilities_{context}"]
7+
= Optional cluster capabilities in {product-title} {product-version}
8+
9+
Optional cluster capabilities are components that can be disabled during the installation process. Cluster administrators can disable optional cluster capabilities to reduce the resources consumed by a cluster. Currently, cluster Operators provide a cluster capability's features.
10+
11+
If you want to use the features provided by a disabled cluster capability, you can enable the capability after installation. After a cluster capability is enabled, it cannot be disabled.

modules/operator-marketplace.adoc

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,61 @@
11
// Module included in the following assemblies:
22
//
33
// * operators/operator-reference.adoc
4+
// * post_installation_configuration/cluster-capabilities.adoc
45

6+
// operators/operator-reference.adoc
7+
ifeval::["{context}" == "cluster-operators-ref"]
8+
:operator-ref:
9+
endif::[]
10+
11+
// post_installation_configuration/cluster-capabilities.adoc
12+
ifeval::["{context}" == "cluster-capabilities"]
13+
:cluster-caps:
14+
endif::[]
15+
16+
:_content-type: REFERENCE
517
[id="marketplace-operator_{context}"]
6-
= Marketplace Operator
18+
ifdef::operator-ref[= Marketplace Operator]
19+
ifdef::cluster-caps[= Marketplace capability]
20+
21+
ifdef::operator-ref[]
22+
23+
[NOTE]
24+
====
25+
The Marketplace Operator is an optional cluster capability that can be disabled by cluster administrators during installation. For more information about optional cluster capabilities, see "Cluster capabilities" in _Post-installation configuration_.
26+
====
27+
28+
endif::operator-ref[]
729

830
[discrete]
931
== Purpose
1032

11-
The Marketplace Operator is a conduit to bring off-cluster Operators to your cluster.
33+
ifdef::cluster-caps[]
34+
35+
The Marketplace Operator provides the features for the `marketplace` capability.
36+
37+
endif::cluster-caps[]
1238

39+
The Marketplace Operator simplifies the process for bringing off-cluster Operators to your cluster by using a set of default Operator Lifecycle Manager (OLM) catalogs on the cluster. When the Marketplace Operator is installed, it creates the `openshift-marketplace` namespace. OLM ensures catalog sources installed in the `openshift-marketplace` namespace are available for all namespaces on the cluster.
40+
41+
ifdef::cluster-caps[]
42+
If you disable the `marketplace` capability, the Marketplace Operator does not create the `openshift-marketplace` namespace. Catalog sources can still be configured and managed on the cluster manually, but OLM depends on the `openshift-marketplace` namespace in order to make catalogs available to all namespaces on the cluster. Users with elevated permissions to create namespaces prefixed with `openshift-`, such as system or cluster administrators, can manually create the `openshift-marketplace` namespace.
43+
44+
If you enable the `marketplace` capability, you can enable and disable individual catalogs by configuring the Marketplace Operator.
45+
endif::cluster-caps[]
46+
47+
ifdef::operator-ref[]
1348
[discrete]
1449
== Project
1550

1651
link:https://github.com/operator-framework/operator-marketplace[operator-marketplace]
52+
53+
endif::operator-ref[]
54+
55+
ifeval::["{context}" == "cluster-operators-ref"]
56+
:!operator-ref:
57+
endif::[]
58+
59+
ifeval::["{context}" == "cluster-caps"]
60+
:!cluster-caps:
61+
endif::[]

operators/operator-reference.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ Cluster administrators can view cluster Operators in the {product-title} web con
1515
Cluster Operators are not managed by Operator Lifecycle Manager (OLM) and OperatorHub. OLM and OperatorHub are part of the link:https://operatorframework.io/[Operator Framework] used in {product-title} for installing and running optional xref:../architecture/control-plane.adoc#olm-operators_control-plane[add-on Operators].
1616
====
1717

18-
Some of the following operators can be disabled prior to installation. For more information see xref:../post_installation_configuration/cluster-capabilities.adoc#viewing_the_cluster_capabilities_cluster-capabilities[Viewing the cluster capabilities].
18+
Some of the following cluster Operators can be disabled prior to installation. For more information see xref:../post_installation_configuration/cluster-capabilities.adoc#viewing_the_cluster_capabilities_cluster-capabilities[Viewing the cluster capabilities].
19+
20+
include::modules/cluster-bare-metal-operator.adoc[leveloffset=+1]
21+
22+
[role="_additional-resources"]
23+
.Additional resources
24+
* xref:../post_installation_configuration/cluster-capabilities.adoc#cluster-bare-metal-operator_cluster-capabilities[Bare-metal capability]
1925
2026
include::modules/baremetal-event-relay.adoc[leveloffset=+1]
2127

@@ -47,6 +53,12 @@ include::modules/cluster-machine-approver-operator.adoc[leveloffset=+1]
4753
include::modules/cluster-monitoring-operator.adoc[leveloffset=+1]
4854
include::modules/cluster-network-operator.adoc[leveloffset=+1]
4955
include::modules/cluster-samples-operator.adoc[leveloffset=+1]
56+
57+
[role="_additional-resources"]
58+
.Additional resources
59+
60+
* xref:../post_installation_configuration/cluster-capabilities.adoc#cluster-samples-operator_cluster-capabilities[OpenShift samples capability]
61+
5062
include::modules/cluster-storage-operator.adoc[leveloffset=+1]
5163
include::modules/cluster-version-operator.adoc[leveloffset=+1]
5264

@@ -87,6 +99,12 @@ include::modules/cluster-kube-storage-version-migrator-operator.adoc[leveloffset
8799
include::modules/machine-api-operator.adoc[leveloffset=+1]
88100
include::modules/machine-config-operator.adoc[leveloffset=+1]
89101
include::modules/operator-marketplace.adoc[leveloffset=+1]
102+
103+
[role="_additional-resources"]
104+
.Additional resources
105+
106+
* xref:../post_installation_configuration/cluster-capabilities.adoc#marketplace-operator_cluster-capabilities[Marketplace capability]
107+
90108
include::modules/node-tuning-operator.adoc[leveloffset=+1]
91109

92110
[discrete]
@@ -127,4 +145,4 @@ include::modules/vsphere-problem-detector-operator.adoc[leveloffset=+1]
127145
[id="additional-resources_cluster-op-ref-vpd"]
128146
=== Additional resources
129147

130-
* xref:../installing/installing_vsphere/using-vsphere-problem-detector-operator.adoc#using-vsphere-problem-detector-operator[Using the vSphere Problem Detector Operator]
148+
* xref:../installing/installing_vsphere/using-vsphere-problem-detector-operator.adoc#using-vsphere-problem-detector-operator[Using the vSphere Problem Detector Operator]

post_installation_configuration/cluster-capabilities.adoc

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,41 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
Cluster administrators can use the cluster capabilities to select or deselect one or more optional components prior to installation and also enable a cluster capability anytime post installation.
9+
Cluster administrators can use cluster capabilities to disable one or more optional components prior to xref:../installing/index.adoc#ocp-installation-overview[installation]. Cluster administrators can enable cluster capabilities at anytime after installation.
1010

1111
[NOTE]
1212
====
13-
If cluster capability has been enabled before, it cannot be disabled.
13+
Cluster administrators cannot disable a cluster capability after it is enabled.
1414
====
1515

16-
include::modules/viewing-cluster-capabilities.adoc[leveloffset=+1]
16+
include::modules/explanation-of-capabilities.adoc[leveloffset=+1]
1717

18-
include::modules/enabling-baseline-capability-set.adoc[leveloffset=+1]
18+
[role="_additional-resources"]
19+
.Additional resources
20+
* xref:../operators/operator-reference.adoc#cluster-operator-reference[Cluster Operators reference]
21+
22+
include::modules/cluster-bare-metal-operator.adoc[leveloffset=+2]
1923

2024
[role="_additional-resources"]
2125
.Additional resources
26+
* xref:../installing/installing_bare_metal_ipi/ipi-install-overview.adoc#ipi-install[Deploying installer-provisioned clusters on bare metal]
27+
* xref:../installing/installing_bare_metal/preparing-to-install-on-bare-metal.adoc#preparing-to-install-on-bare-metal[Preparing for bare metal cluster installation]
28+
* xref:../post_installation_configuration/bare-metal-configuration.adoc#post-install-bare-metal-configuration[Bare metal configuration]
2229
23-
The following are the capabilities defined in `v4.11`:
30+
include::modules/cluster-samples-operator.adoc[leveloffset=+2]
2431

25-
* xref:../installing/installing_bare_metal_ipi/ipi-install-overview.adoc#ipi-install[Bare metal]
32+
[role="_additional-resources"]
33+
.Additional resources
34+
* xref:../openshift_images/configuring-samples-operator.adoc#configuring-samples-operator[Configuring the Cluster Samples Operator]
2635
27-
* xref:../operators/understanding/olm-rh-catalogs.adoc#olm-rh-catalogs[Marketplace]
36+
include::modules/operator-marketplace.adoc[leveloffset=+2]
2837

29-
* xref:../openshift_images/configuring-samples-operator.adoc#configuring-samples-operator[OpenShift-samples]
38+
[role="_additional-resources"]
39+
.Additional resources
40+
* xref:../operators/understanding/olm-rh-catalogs.adoc#olm-rh-catalogs[Red Hat-provided Operator catalogs]
41+
42+
include::modules/viewing-cluster-capabilities.adoc[leveloffset=+1]
43+
44+
include::modules/enabling-baseline-capability-set.adoc[leveloffset=+1]
3045

3146
include::modules/enabling-additional-enabled-capabilities.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)