# Functions
MilliCPUToQuota converts milliCPU to CFS quota and period values.
MilliCPUToShares converts the milliCPU to CFS shares.
QuotaToMilliCPU converts CFS quota and period to milli-CPUs.
ResmgrKey returns a full namespaced name of a resource manager specific key.
SharesToMilliCPU converts CFS CPU shares to milli-CPUs.
# Constants
ContainerNameLabel is the key for the kubernetes container name label.
MaxShares is the minimum cpu.shares accepted by cgroups.
MilliCPUToCPU is milli-CPUs worth a full CPU.
MinQuotaPeriod is 1000 microseconds, or 1ms.
MinShares is the minimum cpu.shares accepted by cgroups.
NamespaceSystem is the kubernetes system namespace.
PodNameLabel is the key for the kubernetes pod name label.
PodNameLabel is the key for the kubernetes pod UID label.
QuotaPeriod is 100000 microseconds, or 100ms.
ResmgrKeyNamespace is a CRI Resource Manager namespace.
SharesPerCPU is cpu.shares worth one full CPU.