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

    1. To set the additionalEnabledCapabilities, run the following command:

      1. $ 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:

    1. {"lastTransitionTime":"2022-07-22T03:14:35Z","message":"The following capabilities could not be disabled: openshift-samples","reason":"CapabilitiesImplicitlyEnabled","status":"True","type":"ImplicitlyEnabledCapabilities"}