@@ -293,6 +293,12 @@ For Linux-based systems, the `process` object supports the following process-spe
293293 For more information on how these two settings work together, see [ the memory cgroup documentation section 10. OOM Contol] [ cgroup-v1-memory_2 ] .
294294* ** ` selinuxLabel ` ** (string, OPTIONAL) specifies the SELinux label for the process.
295295 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).
296302
297303### <a name =" configUser " />User
298304
@@ -334,6 +340,10 @@ _Note: symbolic name for uid and gid, such as uname and gname respectively, are
334340 ],
335341 "apparmorProfile" : " acme_secure_profile" ,
336342 "selinuxLabel" : " system_u:system_r:svirt_lxc_net_t:s0:c124,c675" ,
343+ "ioPriority" : {
344+ "class" : " IOPRIO_CLASS_IDLE" ,
345+ "priority" : 4
346+ },
337347 "noNewPrivileges" : true ,
338348 "capabilities" : {
339349 "bounding" : [
@@ -734,6 +744,10 @@ Here is a full example `config.json` for reference.
734744 "apparmorProfile" : " acme_secure_profile" ,
735745 "oomScoreAdj" : 100 ,
736746 "selinuxLabel" : " system_u:system_r:svirt_lxc_net_t:s0:c124,c675" ,
747+ "ioPriority" : {
748+ "class" : " IOPRIO_CLASS_IDLE" ,
749+ "priority" : 4
750+ },
737751 "noNewPrivileges" : true
738752 },
739753 "root" : {
0 commit comments