kubernetesk8s.io/kubernetes/pkg/kubelet/cm Index | Files

package cm

import "k8s.io/kubernetes/pkg/kubelet/cm"

Index

Types

type ContainerManager

type ContainerManager interface {
	// Runs the container manager's housekeeping.
	// - Ensures that the Docker daemon is in a container.
	// - Creates the system container where all non-containerized processes run.
	Start(NodeConfig) error

	// Returns resources allocated to system containers in the machine.
	// These containers include the system and Kubernetes services.
	SystemContainersLimit() api.ResourceList
}

Manages the containers running on a machine.

func NewContainerManager

func NewContainerManager(mounter mount.Interface, cadvisorInterface cadvisor.Interface) (ContainerManager, error)

func NewStubContainerManager

func NewStubContainerManager() ContainerManager

type NodeConfig

type NodeConfig struct {
	DockerDaemonContainerName string
	SystemContainerName       string
	KubeletContainerName      string
}

Source Files

container_manager.go container_manager_stub.go container_manager_unsupported.go

Version
v1.2.0-alpha.5
Published
Dec 15, 2015
Platform
js/wasm
Imports
5 packages
Last checked
9 minutes ago

Tools for package owners.