KubeletConfig Class

Kubelet configurations of agent nodes.

Inheritance
KubeletConfig

Constructor

KubeletConfig(*, cpu_manager_policy: typing.Union[str, NoneType] = None, cpu_cfs_quota: typing.Union[bool, NoneType] = None, cpu_cfs_quota_period: typing.Union[str, NoneType] = None, image_gc_high_threshold: typing.Union[int, NoneType] = None, image_gc_low_threshold: typing.Union[int, NoneType] = None, topology_manager_policy: typing.Union[str, NoneType] = None, allowed_unsafe_sysctls: typing.Union[typing.List[str], NoneType] = None, fail_swap_on: typing.Union[bool, NoneType] = None, **kwargs)

Parameters

cpu_manager_policy
str
Required

CPU Manager policy to use.

cpu_cfs_quota
bool
Required

Enable CPU CFS quota enforcement for containers that specify CPU limits.

cpu_cfs_quota_period
str
Required

Sets CPU CFS quota period value.

image_gc_high_threshold
int
Required

The percent of disk usage after which image garbage collection is always run.

image_gc_low_threshold
int
Required

The percent of disk usage before which image garbage collection is never run.

topology_manager_policy
str
Required

Topology Manager policy to use.

allowed_unsafe_sysctls
list[str]
Required

Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).

fail_swap_on
bool
Required

If set to true it will make the Kubelet fail to start if swap is enabled on the node.