KubeletConfig Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Enable CPU CFS quota enforcement for containers that specify CPU limits.
- cpuCfsQuotaPeriod
- String
Sets CPU CFS quota period value.
The percent of disk usage after which image garbage collection is always run.
The percent of disk usage before which image garbage collection is never run.
- topologyManagerPolicy
- String
Topology Manager policy to use.
Allowlist of unsafe sysctls or
unsafe sysctl patterns (ending in *
).
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
The maximum size (e.g. 10Mi) of container log file before it is rotated.
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
Applies to
Azure SDK for .NET