package
1.6.0-alpha.3
Repository: https://github.com/monopole/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConvertCgroupFsNameToSystemd converts an expanded cgroupfs name to its systemd name.
ConvertCgroupNameToSystemd converts the internal cgroup name to a systemd name.
Ensures that the Docker daemon is in the desired container.
GetCgroupSubsystems returns information about the mounted cgroup subsystems.
InitQOS creates the top level qos cgroup containers We create top level QoS containers for only Burstable and Best Effort and not Guaranteed QoS class.
MilliCPUToQuota converts milliCPU to CFS quota and period values.
MilliCPUToShares converts the milliCPU to CFS shares.
NewCgroupManager is a factory method that returns a CgroupManager.
TODO(vmarmol): Add limits to the system containers.
No description provided by the author
ResourceConfigForPod takes the input pod and outputs the cgroup resource config.

# Constants

The percent of the machine memory capacity.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The minimum memory limit allocated to docker container: 150Mi.
No description provided by the author
Taken from lmctfy https://github.com/google/lmctfy/blob/master/lmctfy/controllers/cpu_controller.cc.
100000 is equivalent to 100ms.
No description provided by the author

# Structs

CgroupConfig holds the cgroup configuration information.
CgroupSubsystems holds information about the mounted cgroup subsytems.
No description provided by the author
QOSContainersInfo stores the names of containers per qos.
ResourceConfig holds information about all the supported cgroup resource parameters.
No description provided by the author

# Interfaces

CgroupManager allows for cgroup management.
Manages the containers running on a machine.
PodContainerManager stores and manages pod level containers The Pod workers interact with the PodContainerManager to create and destroy containers for the pod.

# Type aliases

CgroupName is the abstract name of a cgroup prior to any driver specific conversion.
No description provided by the author