KubeletConfig Class
Kubelet configurations of agent nodes.
- Inheritance
-
azure.mgmt.containerservice._serialization.ModelKubeletConfig
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
|
CPU Manager policy to use. |
cpu_cfs_quota
|
Enable CPU CFS quota enforcement for containers that specify CPU limits. |
cpu_cfs_quota_period
|
Sets CPU CFS quota period value. |
image_gc_high_threshold
|
The percent of disk usage after which image garbage collection is always run. |
image_gc_low_threshold
|
The percent of disk usage before which image garbage collection is never run. |
topology_manager_policy
|
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
|
The maximum size (e.g. 10Mi) of container log file before it is rotated. |
container_log_max_files
|
The maximum number of container log files that can be present for a container. The number must be ≥ 2. |
pod_max_pids
|
The maximum number of processes per pod. |
Variables
Name | Description |
---|---|
cpu_manager_policy
|
CPU Manager policy to use. |
cpu_cfs_quota
|
Enable CPU CFS quota enforcement for containers that specify CPU limits. |
cpu_cfs_quota_period
|
Sets CPU CFS quota period value. |
image_gc_high_threshold
|
The percent of disk usage after which image garbage collection is always run. |
image_gc_low_threshold
|
The percent of disk usage before which image garbage collection is never run. |
topology_manager_policy
|
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
|
The maximum size (e.g. 10Mi) of container log file before it is rotated. |
container_log_max_files
|
The maximum number of container log files that can be present for a container. The number must be ≥ 2. |
pod_max_pids
|
The maximum number of processes per pod. |
Azure SDK for Python