type systemContainer …
func newSystemCgroups(containerName string) (*systemContainer, error) { … }
type containerManagerImpl …
type features …
var _ …
func validateSystemRequirements(mountUtil mount.Interface) (features, error) { … }
func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig, failSwapOn bool, recorder record.EventRecorder, kubeClient clientset.Interface) (ContainerManager, error) { … }
func (cm *containerManagerImpl) NewPodContainerManager() PodContainerManager { … }
func (cm *containerManagerImpl) InternalContainerLifecycle() InternalContainerLifecycle { … }
func createManager(containerName string) (cgroups.Manager, error) { … }
type KernelTunableBehavior …
const KernelTunableWarn …
const KernelTunableError …
const KernelTunableModify …
func setupKernelTunables(option KernelTunableBehavior) error { … }
func (cm *containerManagerImpl) setupNode(activePods ActivePodsFunc) error { … }
func (cm *containerManagerImpl) GetNodeConfig() NodeConfig { … }
func (cm *containerManagerImpl) GetPodCgroupRoot() string { … }
func (cm *containerManagerImpl) GetMountedSubsystems() *CgroupSubsystems { … }
func (cm *containerManagerImpl) GetQOSContainersInfo() QOSContainersInfo { … }
func (cm *containerManagerImpl) UpdateQOSCgroups() error { … }
func (cm *containerManagerImpl) Status() Status { … }
func (cm *containerManagerImpl) Start(ctx context.Context, node *v1.Node,
activePods ActivePodsFunc,
getNode GetNodeFunc,
sourcesReady config.SourcesReady,
podStatusProvider status.PodStatusProvider,
runtimeService internalapi.RuntimeService,
localStorageCapacityIsolation bool) error { … }
func (cm *containerManagerImpl) GetPluginRegistrationHandlers() map[string]cache.PluginHandler { … }
func (cm *containerManagerImpl) GetResources(ctx context.Context, pod *v1.Pod, container *v1.Container) (*kubecontainer.RunContainerOptions, error) { … }
func (cm *containerManagerImpl) UpdatePluginResources(node *schedulerframework.NodeInfo, attrs *lifecycle.PodAdmitAttributes) error { … }
func (cm *containerManagerImpl) GetAllocateResourcesPodAdmitHandler() lifecycle.PodAdmitHandler { … }
func (cm *containerManagerImpl) SystemCgroupsLimit() v1.ResourceList { … }
func isProcessRunningInHost(pid int) (bool, error) { … }
func ensureProcessInContainerWithOOMScore(pid int, oomScoreAdj int, manager cgroups.Manager) error { … }
func getContainer(pid int) (string, error) { … }
func ensureSystemCgroups(rootCgroupPath string, manager cgroups.Manager) error { … }
func isKernelPid(pid int) bool { … }
func (cm *containerManagerImpl) GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList { … }
func (cm *containerManagerImpl) GetDevicePluginResourceCapacity() (v1.ResourceList, v1.ResourceList, []string) { … }
func (cm *containerManagerImpl) GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices { … }
func (cm *containerManagerImpl) GetAllocatableDevices() []*podresourcesapi.ContainerDevices { … }
func (cm *containerManagerImpl) GetCPUs(podUID, containerName string) []int64 { … }
func (cm *containerManagerImpl) GetAllocatableCPUs() []int64 { … }
func (cm *containerManagerImpl) GetMemory(podUID, containerName string) []*podresourcesapi.ContainerMemory { … }
func (cm *containerManagerImpl) GetAllocatableMemory() []*podresourcesapi.ContainerMemory { … }
func (cm *containerManagerImpl) GetDynamicResources(pod *v1.Pod, container *v1.Container) []*podresourcesapi.DynamicResource { … }
func (cm *containerManagerImpl) ShouldResetExtendedResourceCapacity() bool { … }
func (cm *containerManagerImpl) UpdateAllocatedDevices() { … }
func containerMemoryFromBlock(blocks []memorymanagerstate.Block) []*podresourcesapi.ContainerMemory { … }
func (cm *containerManagerImpl) PrepareDynamicResources(ctx context.Context, pod *v1.Pod) error { … }
func (cm *containerManagerImpl) UnprepareDynamicResources(ctx context.Context, pod *v1.Pod) error { … }
func (cm *containerManagerImpl) PodMightNeedToUnprepareResources(UID types.UID) bool { … }
func (cm *containerManagerImpl) UpdateAllocatedResourcesStatus(pod *v1.Pod, status *v1.PodStatus) { … }
func (cm *containerManagerImpl) Updates() <-chan resourceupdates.Update { … }