Skip to content

Commit 6fdb74c

Browse files
author
Bob Furu
authored
Merge pull request #39793 from xenolinux/ClusterR
2 parents dc8acd1 + 56fc67c commit 6fdb74c

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ Distros: openshift-enterprise,openshift-online,openshift-origin
457457
Topics:
458458
- Name: Support overview
459459
File: index
460+
- Name: Managing your cluster resources
461+
File: managing-cluster-resources
460462
- Name: Getting support
461463
File: getting-support
462464
Distros: openshift-enterprise

modules/cluster-resources.adoc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[id="support-cluster-resources_{context}"]
2+
= Interacting with your cluster resources
3+
4+
You can interact with cluster resources by using the OpenShift CLI (`oc`) tool in {product-title}. The cluster resources that you see after running the `oc api-resources` command can be edited.
5+
6+
.Prerequisites
7+
8+
* You have access to the cluster as a user with the `cluster-admin` role.
9+
* You have access to the web console or you have installed the `oc` CLI tool.
10+
11+
.Procedure
12+
13+
. To see which configuration Operators have been applied, run the following command:
14+
+
15+
[source,terminal]
16+
----
17+
$ oc api-resources -o name | grep config.openshift.io
18+
----
19+
20+
. To see what cluster resources you can configure, run the following command:
21+
+
22+
[source,terminal]
23+
----
24+
$ oc explain ${resource_name}.config.openshift.io
25+
----
26+
27+
. To see the configuration of custom resource definition (CRD) objects in the cluster, run the following command:
28+
+
29+
[source,terminal]
30+
----
31+
$ oc get ${resource_name}.config -o yaml
32+
----
33+
34+
. To edit the cluster resource configuration, run the following command:
35+
+
36+
[source,terminal]
37+
----
38+
$ oc edit ${resource_name}.config -o yaml
39+
----
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[id="managing-cluster-resources"]
2+
= Managing your cluster resources
3+
include::modules/common-attributes.adoc[]
4+
ifdef::openshift-dedicated[]
5+
include::modules/attributes-openshift-dedicated.adoc[]
6+
endif::[]
7+
:context: managing-cluster-resources
8+
9+
toc::[]
10+
11+
You can apply global configuration options in {product-title}. Operators apply these configuration settings across the cluster.
12+
13+
include::modules/cluster-resources.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)