KubeletConfig Class

Kubelet configurations of agent nodes.

Inheritance
azure.mgmt.containerservice._serialization.Model
KubeletConfig

Constructor

KubeletConfig(*, cpu_manager_policy: str | None = None, cpu_cfs_quota: bool | None = None, cpu_cfs_quota_period: str | None = None, image_gc_high_threshold: int | None = None, image_gc_low_threshold: int | None = None, topology_manager_policy: str | None = None, allowed_unsafe_sysctls: List[str] | None = None, fail_swap_on: bool | None = None, container_log_max_size_mb: int | None = None, container_log_max_files: int | None = None, pod_max_pids: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
cpu_manager_policy
str

CPU Manager policy to use.

cpu_cfs_quota

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

cpu_cfs_quota_period
str

Sets CPU CFS quota period value.

image_gc_high_threshold
int

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

image_gc_low_threshold
int

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

topology_manager_policy
str

Topology Manager policy to use.

allowed_unsafe_sysctls

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

fail_swap_on

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

container_log_max_size_mb
int

The maximum size (e.g. 10Mi) of container log file before it is rotated.

container_log_max_files
int

The maximum number of container log files that can be present for a container. The number must be ≥ 2.

pod_max_pids
int

The maximum number of processes per pod.

Variables

Name Description
cpu_manager_policy
str

CPU Manager policy to use.

cpu_cfs_quota

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

cpu_cfs_quota_period
str

Sets CPU CFS quota period value.

image_gc_high_threshold
int

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

image_gc_low_threshold
int

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

topology_manager_policy
str

Topology Manager policy to use.

allowed_unsafe_sysctls

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

fail_swap_on

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

container_log_max_size_mb
int

The maximum size (e.g. 10Mi) of container log file before it is rotated.

container_log_max_files
int

The maximum number of container log files that can be present for a container. The number must be ≥ 2.

pod_max_pids
int

The maximum number of processes per pod.