Sdílet prostřednictvím


IKubeletConfig Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.KubeletConfigTypeConverter))]
public interface IKubeletConfig : Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.KubeletConfigTypeConverter))>]
type IKubeletConfig = interface
    interface IJsonSerializable
Public Interface IKubeletConfig
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AllowedUnsafeSysctl

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

ContainerLogMaxFile

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

ContainerLogMaxSizeMb

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

CpuCfsQuota

The default is true.

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'.

CpuManagerPolicy

The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.

FailSwapOn

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

ImageGcHighThreshold

To disable image garbage collection, set to 100. The default is 85%

ImageGcLowThreshold

This cannot be set higher than imageGcHighThreshold. The default is 80%

PodMaxPid

The maximum number of processes per pod.

TopologyManagerPolicy

For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to