Class KubeletConfig | Azure SDK for .NET
Leah Mitchell
Published Feb 16, 2026
Inheritance
System.Object
KubeletConfig
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.ContainerService.dll
Syntax
public class KubeletConfig Constructors
KubeletConfig()
Initializes a new instance of KubeletConfig.
Declaration
public KubeletConfig (); Properties
AllowedUnsafeSysctls
Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in *).
Declaration
public System.Collections.Generic.IList<string> AllowedUnsafeSysctls { get; } Property Value
| System.Collections.Generic.IList<System.String> |
ContainerLogMaxFiles
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
Declaration
public Nullable<int> ContainerLogMaxFiles { get; set; } Property Value
| System.Nullable<System.Int32> |
ContainerLogMaxSizeInMB
The maximum size (e.g. 10Mi) of container log file before it is rotated.
Declaration
public Nullable<int> ContainerLogMaxSizeInMB { get; set; } Property Value
| System.Nullable<System.Int32> |
CpuCfsQuotaPeriod
The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
Declaration
public string CpuCfsQuotaPeriod { get; set; } Property Value
| System.String |
CpuManagerPolicy
Declaration
public string CpuManagerPolicy { get; set; } Property Value
| System.String |
FailStartWithSwapOn
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
Declaration
public Nullable<bool> FailStartWithSwapOn { get; set; } Property Value
| System.Nullable<System.Boolean> |
ImageGcHighThreshold
To disable image garbage collection, set to 100. The default is 85%.
Declaration
public Nullable<int> ImageGcHighThreshold { get; set; } Property Value
| System.Nullable<System.Int32> |
ImageGcLowThreshold
This cannot be set higher than imageGcHighThreshold. The default is 80%.
Declaration
public Nullable<int> ImageGcLowThreshold { get; set; } Property Value
| System.Nullable<System.Int32> |
IsCpuCfsQuotaEnabled
The default is true.
Declaration
public Nullable<bool> IsCpuCfsQuotaEnabled { get; set; } Property Value
| System.Nullable<System.Boolean> |
PodMaxPids
The maximum number of processes per pod.
Declaration
public Nullable<int> PodMaxPids { get; set; } Property Value
| System.Nullable<System.Int32> |
TopologyManagerPolicy
For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
Declaration
public string TopologyManagerPolicy { get; set; } Property Value
| System.String |