File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -627,6 +627,19 @@ type WindowsCPUResources struct {
627627 // cycles per 10,000 cycles. Set processor `maximum` to a percentage times
628628 // 100.
629629 Maximum * uint16 `json:"maximum,omitempty"`
630+ // Set of CPUs to affinitize for this container.
631+ AffinityCPUs []WindowsCPUGroupAffinity `json:"affinityCPUs,omitempty"`
632+ // Specifies preferred set of numa node numbers to affinitize for this container.
633+ AffinityPreferredNumaNodes []int64 `json:"affinityPreferredNumaNodes,omitempty"`
634+ }
635+
636+ // Similar to _GROUP_AFFINITY struct defined in
637+ // https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/miniport/ns-miniport-_group_affinity
638+ type WindowsCPUGroupAffinity struct {
639+ // CPU mask relative to this CPU group.
640+ CPUMask uint64 `json:"cpuMask,omitempty"`
641+ // CPU group that this CPU belongs to.
642+ CPUGroup uint32 `json:"cpuGroup,omitempty"`
630643}
631644
632645// WindowsStorageResources contains storage resource management settings.
You can’t perform that action at this time.
0 commit comments