Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 2. Managing your cluster resources

download PDF

You can apply global configuration options in Red Hat OpenShift Service on AWS. Operators apply these configuration settings across the cluster.

2.1. Interacting with your cluster resources

You can interact with cluster resources by using the OpenShift CLI (oc) tool in Red Hat OpenShift Service on AWS. 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 dedicated-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
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.