package
0.0.0-20170824060325-cf23810f2098
Repository: https://github.com/sttts/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.
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
No description provided by the author
ParseQOSReserved parses the --qos-reserve-requests option.
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
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.
Uer visible keys for managing node allocatable enforcement on the node.
100000 is equivalent to 100ms.
No description provided by the author
No description provided by the author
# Structs
CgroupConfig holds the cgroup configuration information.
CgroupSubsystems holds information about the mounted cgroup subsystems.
MemoryStats holds the on-demand statistics from the memory cgroup.
No description provided by the author
No description provided by the author
QOSContainersInfo stores the names of containers per qos.
ResourceConfig holds information about all the supported cgroup resource parameters.
ResourceStats holds on-demand statistics from various cgroup subsystems.
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.
No description provided by the author
# Type aliases
No description provided by the author
CgroupName is the abstract name of a cgroup prior to any driver specific conversion.
No description provided by the author