Partager via


KubeletConfig Class

Definition

See AKS custom node configuration for more details.

public class KubeletConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
type KubeletConfig = class
    inherit ProvisionableConstruct
Public Class KubeletConfig
Inherits ProvisionableConstruct
Inheritance

Constructors

KubeletConfig()

Creates a new KubeletConfig.

Properties

AllowedUnsafeSysctls

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

ContainerLogMaxFiles

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

ContainerLogMaxSizeInMB

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

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

FailStartWithSwapOn

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

IsCpuCfsQuotaEnabled

The default is true.

PodMaxPids

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

AssignOrReplace<T>(T, T) (Inherited from ProvisionableConstruct)
Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisionableConstruct)
DefineDictionaryProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineListProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineModelProperty<T>(String, String[], Boolean, Boolean, Boolean, String) (Inherited from ProvisionableConstruct)
DefineProperty<T>(String, String[], Boolean, Boolean, Boolean, BicepValue<T>, String) (Inherited from ProvisionableConstruct)
DefineProvisionableProperties()

Define all the provisionable properties of KubeletConfig.

GetProvisionableResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
Initialize()

Initialize this construct.

(Inherited from ProvisionableConstruct)
OverrideWithExpression(BicepExpression) (Inherited from ProvisionableConstruct)
Resolve(ProvisioningBuildOptions)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisionableConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Validate(ProvisioningBuildOptions)

Validate the presence of any required members.

(Inherited from ProvisionableConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Provisionable)

Applies to