@@ -293,6 +293,12 @@ For Linux-based systems, the `process` object supports the following process-spe
293
293
For more information on how these two settings work together, see [ the memory cgroup documentation section 10. OOM Contol] [ cgroup-v1-memory_2 ] .
294
294
* ** ` selinuxLabel ` ** (string, OPTIONAL) specifies the SELinux label for the process.
295
295
For more information about SELinux, see [ SELinux documentation] [ selinux ] .
296
+ * ** ` ioPriority ` ** (object, OPTIONAL) configures the I/O priority settings for the container's processes within the process group.
297
+ The I/O priority settings will be automatically applied to the entire process group, affecting all processes within the container.
298
+ The following properties are available:
299
+
300
+ * ** ` class ` ** (string, REQUIRED) specifies the I/O scheduling class. Possible values are ` IOPRIO_CLASS_RT ` , ` IOPRIO_CLASS_BE ` , and ` IOPRIO_CLASS_IDLE ` .
301
+ * ** ` priority ` ** (int, REQUIRED) specifies the priority level within the class. The value should be an integer ranging from 0 (highest) to 7 (lowest).
296
302
297
303
### <a name =" configUser " />User
298
304
@@ -334,6 +340,10 @@ _Note: symbolic name for uid and gid, such as uname and gname respectively, are
334
340
],
335
341
"apparmorProfile" : " acme_secure_profile" ,
336
342
"selinuxLabel" : " system_u:system_r:svirt_lxc_net_t:s0:c124,c675" ,
343
+ "ioPriority" : {
344
+ "class" : " IOPRIO_CLASS_IDLE" ,
345
+ "priority" : 4
346
+ },
337
347
"noNewPrivileges" : true ,
338
348
"capabilities" : {
339
349
"bounding" : [
@@ -734,6 +744,10 @@ Here is a full example `config.json` for reference.
734
744
"apparmorProfile" : " acme_secure_profile" ,
735
745
"oomScoreAdj" : 100 ,
736
746
"selinuxLabel" : " system_u:system_r:svirt_lxc_net_t:s0:c124,c675" ,
747
+ "ioPriority" : {
748
+ "class" : " IOPRIO_CLASS_IDLE" ,
749
+ "priority" : 4
750
+ },
737
751
"noNewPrivileges" : true
738
752
},
739
753
"root" : {
0 commit comments