KubeletConfig Class
Kubelet configurations of agent nodes.
- Inheritance
-
KubeletConfig
Constructor
KubeletConfig(*, cpu_manager_policy: Optional[str] = None, cpu_cfs_quota: Optional[bool] = None, cpu_cfs_quota_period: Optional[str] = None, image_gc_high_threshold: Optional[int] = None, image_gc_low_threshold: Optional[int] = None, topology_manager_policy: Optional[str] = None, allowed_unsafe_sysctls: Optional[List[str]] = None, fail_swap_on: Optional[bool] = None, container_log_max_size_mb: Optional[int] = None, container_log_max_files: Optional[int] = None, pod_max_pids: Optional[int] = None, **kwargs)
Variables
- cpu_manager_policy
- str
CPU Manager policy to use.
- cpu_cfs_quota
- bool
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.
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in
*).
- fail_swap_on
- bool
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.
Feedback
Submit and view feedback for