File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -159,11 +159,13 @@ metadata:
159
159
name: 05-worker-kernelarg-selinuxpermissive
160
160
spec:
161
161
kernelArguments:
162
- systemd.unified_cgroup_hierarchy=0 <1>
163
- systemd.legacy_systemd_cgroup_controller=1 <2>
162
+ systemd_unified_cgroup_hierarchy=1 <1>
163
+ cgroup_no_v1="all" <2>
164
+ psi=1 <3>
164
165
----
165
166
<1> Enables cgroup v2 in systemd.
166
167
<2> Disables cgroup v1.
168
+ <3> Enables the Linux Pressure Stall Information (PSI) feature.
167
169
+
168
170
endif::nodes[]
169
171
.Example output for cgroup v1
@@ -177,13 +179,11 @@ metadata:
177
179
name: 05-worker-kernelarg-selinuxpermissive
178
180
spec:
179
181
kernelArguments:
180
- - systemd_unified_cgroup_hierarchy=1 <1>
181
- - cgroup_no_v1="all" <2>
182
- - psi=1 <3>
182
+ systemd.unified_cgroup_hierarchy=0 <1>
183
+ systemd.legacy_systemd_cgroup_controller=1 <2>
183
184
----
184
- <1> Enables cgroup v1 in systemd.
185
- <2> Disables cgroup v2.
186
- <3> Enables the Linux Pressure Stall Information (PSI) feature.
185
+ <1> Disables cgroup v2.
186
+ <2> Enables cgroup v1 in systemd.
187
187
188
188
. Check the nodes to see that scheduling on the nodes is disabled. This indicates that the change is being applied:
189
189
+
@@ -243,13 +243,13 @@ $ stat -c %T -f /sys/fs/cgroup
243
243
.Example output for cgroup v2
244
244
[source,terminal]
245
245
----
246
- tmp2fs
246
+ cgroup2fs
247
247
----
248
248
+
249
249
.Example output for cgroup v1
250
250
[source,terminal]
251
251
----
252
- cgroup1fs
252
+ tmpfs
253
253
----
254
254
endif::nodes[]
255
255
You can’t perform that action at this time.
0 commit comments