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() error

	// Returns resources allocated to system cgroups in the machine.
	// These cgroups include the system and Kubernetes services.
	SystemCgroupsLimit() api.ResourceList

	// Returns a NodeConfig that is being used by the container manager.
	GetNodeConfig() NodeConfig

	// Returns internal Status.
	Status() Status
}

Manages the containers running on a machine.

func NewContainerManager

func NewContainerManager(_ mount.Interface, _ cadvisor.Interface, _ NodeConfig) (ContainerManager, error)

func NewStubContainerManager

func NewStubContainerManager() ContainerManager

type NodeConfig

type NodeConfig struct {
	RuntimeCgroupsName string
	SystemCgroupsName  string
	KubeletCgroupsName string
	ContainerRuntime   string
}

type Status

type Status struct {
	// Any soft requirements that were unsatisfied.
	SoftRequirements error
}

Source Files

container_manager.go container_manager_stub.go container_manager_unsupported.go

Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
js/wasm
Imports
5 packages
Last checked
21 minutes ago

Tools for package owners.