Documentation
¶
Index ¶
- func GetCPUManagerStateFilePath(rootDirectory string) string
- func GetKubeletReservedOptions(kubeletConfiguration *kubeletconfiginternal.KubeletConfiguration, ...) (reservedSystemCPUs cpuset.CPUSet, ...)
- func GetNodeAllocatableReservation(numCPUs int, totalMemoryInBytes int64, evictionHard map[string]string, ...) (corev1.ResourceList, error)
- func GetStaticCPUManagerPolicyReservedCPUs(topology *topology.CPUTopology, ...) (cpuset.CPUSet, error)
- func NewCPUTopology(cpuInfo *koordletutil.LocalCPUInfo) *topology.CPUTopology
- func TakeByTopology(availableCPUs cpuset.CPUSet, numCPUs int, cpuTopology *topology.CPUTopology) (cpuset.CPUSet, error)
- type LoopControl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeletReservedOptions ¶
func GetKubeletReservedOptions(kubeletConfiguration *kubeletconfiginternal.KubeletConfiguration, topology *topology.CPUTopology) (reservedSystemCPUs cpuset.CPUSet, kubeReserved, systemReserved corev1.ResourceList, err error)
func GetNodeAllocatableReservation ¶
func GetNodeAllocatableReservation(numCPUs int, totalMemoryInBytes int64, evictionHard map[string]string, systemReserved, kubeReserved corev1.ResourceList, experimentalNodeAllocatableIgnoreEvictionThreshold bool) (corev1.ResourceList, error)
func GetStaticCPUManagerPolicyReservedCPUs ¶
func GetStaticCPUManagerPolicyReservedCPUs(topology *topology.CPUTopology, kubeletConfiguration *kubeletconfiginternal.KubeletConfiguration) (cpuset.CPUSet, error)
func NewCPUTopology ¶
func NewCPUTopology(cpuInfo *koordletutil.LocalCPUInfo) *topology.CPUTopology
func TakeByTopology ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.