Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivePodsFunc ¶
ActivePodsFunc is a function that returns a list of pods to reconcile.
type Manager ¶
type Manager interface { // Start is called during Kubelet initialization. Start(activePods ActivePodsFunc, podStatusProvider status.PodStatusProvider, containerRuntime runtimeService) // AddContainer is called between container create and container start // so that initial CPU affinity settings can be written through to the // container runtime before the first process begins to execute. AddContainer(p *v1.Pod, c *v1.Container, containerID string) error // RemoveContainer is called after Kubelet decides to kill or delete a // container. After this call, the CPU manager stops trying to reconcile // that container and any CPUs dedicated to the container are freed. RemoveContainer(containerID string) error // State returns a read-only interface to the internal CPU manager state. State() state.Reader }
Manager interface provides methods for Kubelet to manage pod cpus.
Click to show internal directories.
Click to hide internal directories.