179 | 179 |
// MountLabel specifies the selinux context for the mounts in the container.
|
180 | 180 |
MountLabel string `json:"mountLabel,omitempty"`
|
181 | 181 |
// IntelRdt contains Intel Resource Director Technology (RDT) information for
|
182 | |
// handling resource constraints (e.g., L3 cache, memory bandwidth) for the container
|
|
182 |
// handling resource constraints and monitoring metrics (e.g., L3 cache, memory bandwidth) for the container
|
183 | 183 |
IntelRdt *LinuxIntelRdt `json:"intelRdt,omitempty"`
|
184 | 184 |
// Personality contains configuration for the Linux personality syscall
|
185 | 185 |
Personality *LinuxPersonality `json:"personality,omitempty"`
|
|
684 | 684 |
Args []LinuxSeccompArg `json:"args,omitempty"`
|
685 | 685 |
}
|
686 | 686 |
|
687 | |
// LinuxIntelRdt has container runtime resource constraints for Intel RDT
|
688 | |
// CAT and MBA features which introduced in Linux 4.10 and 4.12 kernel
|
|
687 |
// LinuxIntelRdt has container runtime resource constraints for Intel RDT CAT and MBA
|
|
688 |
// features and flags enabling Intel RDT CMT and MBM features.
|
|
689 |
// Intel RDT features are available in Linux 4.14 and newer kernel versions.
|
689 | 690 |
type LinuxIntelRdt struct {
|
690 | 691 |
// The identity for RDT Class of Service
|
691 | 692 |
ClosID string `json:"closID,omitempty"`
|
|
698 | 699 |
// The unit of memory bandwidth is specified in "percentages" by
|
699 | 700 |
// default, and in "MBps" if MBA Software Controller is enabled.
|
700 | 701 |
MemBwSchema string `json:"memBwSchema,omitempty"`
|
|
702 |
|
|
703 |
// EnableCMT is the flag to indicate if the Intel RDT CMT is enabled. CMT (Cache Monitoring Technology) supports monitoring of
|
|
704 |
// the last-level cache (LLC) occupancy for the container.
|
|
705 |
EnableCMT bool `json:"enableCMT,omitempty"`
|
|
706 |
|
|
707 |
// EnableMBM is the flag to indicate if the Intel RDT MBM is enabled. MBM (Memory Bandwidth Monitoring) supports monitoring of
|
|
708 |
// total and local memory bandwidth for the container.
|
|
709 |
EnableMBM bool `json:"enableMBM,omitempty"`
|
701 | 710 |
}
|
702 | 711 |
|
703 | 712 |
// ZOS contains platform-specific configuration for z/OS based containers.
|