aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
Diffstat (limited to 'hst')
-rw-r--r--hst/config.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/hst/config.go b/hst/config.go
index 5c020636..a21be790 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -104,9 +104,15 @@ type Config struct {
// Init user namespace supplementary groups inherited by all container processes.
Groups []string `json:"groups"`
- // Scheduling policy to set for the container. The zero value retains the
- // current scheduling policy.
+ // Scheduling policy to set for the container.
+ //
+ // The zero value retains the current scheduling policy.
SchedPolicy std.SchedPolicy `json:"sched_policy,omitempty"`
+ // Scheduling priority to set for the container.
+ //
+ // The zero value implies the minimum priority of the current SchedPolicy.
+ // Has no effect if SchedPolicy is zero.
+ SchedPriority std.Int `json:"sched_priority,omitempty"`
// High level configuration applied to the underlying [container].
Container *ContainerConfig `json:"container"`