This is a cache of https://docs.openshift.com/container-platform/4.14/support/managing-cluster-resources.html. It is a snapshot of the page at 2024-11-28T14:38:55.250+0000.
Managing your cluster resources | Support | OpenShift Container Platform 4.14
×

You can apply global configuration options in OpenShift Container Platform. Operators apply these configuration settings across the cluster.

Interacting with your cluster resources

You can interact with cluster resources by using the OpenShift cli (oc) tool in OpenShift Container Platform. The cluster resources that you see after running the oc api-resources command can be edited.

Prerequisites
  • You have access to the cluster as a user with the cluster-admin role.

  • You have access to the web console or you have installed the oc cli tool.

Procedure
  1. To see which configuration Operators have been applied, run the following command:

    $ oc api-resources -o name | grep config.openshift.io
  2. To see what cluster resources you can configure, run the following command:

    $ oc explain <resource_name>.config.openshift.io
  3. To see the configuration of custom resource definition (CRD) objects in the cluster, run the following command:

    $ oc get <resource_name>.config -o yaml
  4. To edit the cluster resource configuration, run the following command:

    $ oc edit <resource_name>.config -o yaml