Skip to content

Commit c0f424c

Browse files
author
Michael Burke
committed
OCPBUGS:44488 Fix API version changed in error
1 parent 7008a7f commit c0f424c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

modules/nodes-clusters-cgroups-2.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ifdef::post[]
5959
.Example `node.config` object
6060
[source,yaml]
6161
----
62-
apiVersion: config.openshift.io/v2
62+
apiVersion: config.openshift.io/v1
6363
kind: Node
6464
metadata:
6565
annotations:
@@ -71,7 +71,7 @@ metadata:
7171
generation: 1
7272
name: cluster
7373
ownerReferences:
74-
- apiVersion: config.openshift.io/v2
74+
- apiVersion: config.openshift.io/v1
7575
kind: ClusterVersion
7676
name: version
7777
uid: 36282574-bf9f-409e-a6cd-3032939293eb
@@ -90,7 +90,7 @@ ifdef::nodes[]
9090
.Example `node.config` object
9191
[source,yaml]
9292
----
93-
apiVersion: config.openshift.io/v2
93+
apiVersion: config.openshift.io/v1
9494
kind: Node
9595
metadata:
9696
annotations:
@@ -102,7 +102,7 @@ metadata:
102102
generation: 1
103103
name: cluster
104104
ownerReferences:
105-
- apiVersion: config.openshift.io/v2
105+
- apiVersion: config.openshift.io/v1
106106
kind: ClusterVersion
107107
name: version
108108
uid: 36282574-bf9f-409e-a6cd-3032939293eb
@@ -168,11 +168,10 @@ spec:
168168
kernelArguments:
169169
systemd_unified_cgroup_hierarchy=1 <1>
170170
cgroup_no_v1="all" <2>
171-
psi=1 <3>
171+
psi=0
172172
----
173173
<1> Enables cgroup v2 in systemd.
174174
<2> Disables cgroup v1.
175-
<3> Enables the Linux Pressure Stall Information (PSI) feature.
176175
+
177176
endif::nodes[]
178177
.Example output for cgroup v1
@@ -188,9 +187,11 @@ spec:
188187
kernelArguments:
189188
systemd.unified_cgroup_hierarchy=0 <1>
190189
systemd.legacy_systemd_cgroup_controller=1 <2>
190+
psi=1 <3>
191191
----
192192
<1> Disables cgroup v2.
193193
<2> Enables cgroup v1 in systemd.
194+
<3> Enables the Linux Pressure Stall Information (PSI) feature.
194195

195196
. Check the nodes to see that scheduling on the nodes is disabled. This indicates that the change is being applied:
196197
+

0 commit comments

Comments
 (0)