Enabling cluster capabilities
As a cluster administrator, you can view the capabilities by using the resource status.
Prerequisites
- You have installed the OpenShift CLI (
oc
).
Procedure
As a cluster administrator, you can enable the capabilities by setting baselineCapabilitySet
.
Prerequisites
- You have installed the OpenShift CLI (
oc
).
Procedure
The following table describes the baselineCapabilitySet
values.
As a cluster administrator, you can enable the cluster capabilities by setting additionalEnabledCapabilities
.
Prerequisites
- You have installed the OpenShift CLI (
oc
).
Procedure
To set the
additionalEnabledCapabilities
, run the following command:$ oc patch clusterversion/version --type merge -p '{"spec":{"capabilities":{"additionalEnabledCapabilities":["openshift-samples", "marketplace"]}}}'
If you try to disable a capability, then CVO shows the divergent spec:
{"lastTransitionTime":"2022-07-22T03:14:35Z","message":"The following capabilities could not be disabled: openshift-samples","reason":"CapabilitiesImplicitlyEnabled","status":"True","type":"ImplicitlyEnabledCapabilities"}