Share via


KubeletConfig Constructors

Definition

Overloads

KubeletConfig()

Initializes a new instance of the KubeletConfig class.

KubeletConfig(String, Nullable<Boolean>, String, Nullable<Int32>, Nullable<Int32>, String, IList<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the KubeletConfig class.

KubeletConfig()

Initializes a new instance of the KubeletConfig class.

public KubeletConfig ();
Public Sub New ()

Applies to

KubeletConfig(String, Nullable<Boolean>, String, Nullable<Int32>, Nullable<Int32>, String, IList<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the KubeletConfig class.

public KubeletConfig (string cpuManagerPolicy = default, bool? cpuCfsQuota = default, string cpuCfsQuotaPeriod = default, int? imageGcHighThreshold = default, int? imageGcLowThreshold = default, string topologyManagerPolicy = default, System.Collections.Generic.IList<string> allowedUnsafeSysctls = default, bool? failSwapOn = default, int? containerLogMaxSizeMB = default, int? containerLogMaxFiles = default, int? podMaxPids = default);
new Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig : string * Nullable<bool> * string * Nullable<int> * Nullable<int> * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig
Public Sub New (Optional cpuManagerPolicy As String = Nothing, Optional cpuCfsQuota As Nullable(Of Boolean) = Nothing, Optional cpuCfsQuotaPeriod As String = Nothing, Optional imageGcHighThreshold As Nullable(Of Integer) = Nothing, Optional imageGcLowThreshold As Nullable(Of Integer) = Nothing, Optional topologyManagerPolicy As String = Nothing, Optional allowedUnsafeSysctls As IList(Of String) = Nothing, Optional failSwapOn As Nullable(Of Boolean) = Nothing, Optional containerLogMaxSizeMB As Nullable(Of Integer) = Nothing, Optional containerLogMaxFiles As Nullable(Of Integer) = Nothing, Optional podMaxPids As Nullable(Of Integer) = Nothing)

Parameters

cpuManagerPolicy
String

CPU Manager policy to use.

cpuCfsQuota
Nullable<Boolean>

Enable CPU CFS quota enforcement for containers that specify CPU limits.

cpuCfsQuotaPeriod
String

Sets CPU CFS quota period value.

imageGcHighThreshold
Nullable<Int32>

The percent of disk usage after which image garbage collection is always run.

imageGcLowThreshold
Nullable<Int32>

The percent of disk usage before which image garbage collection is never run.

topologyManagerPolicy
String

Topology Manager policy to use.

allowedUnsafeSysctls
IList<String>

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

failSwapOn
Nullable<Boolean>

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

containerLogMaxSizeMB
Nullable<Int32>

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

containerLogMaxFiles
Nullable<Int32>

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

podMaxPids
Nullable<Int32>

The maximum number of processes per pod.

Applies to