KubeletConfig Class
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.
Kubelet configurations of agent nodes. See AKS custom node configuration for more details.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.KubeletConfigTypeConverter))]
public class KubeletConfig : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.KubeletConfigTypeConverter))>]
type KubeletConfig = class
interface IKubeletConfig
interface IJsonSerializable
Public Class KubeletConfig
Implements IKubeletConfig
- Inheritance
-
KubeletConfig
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| KubeletConfig() |
Creates an new KubeletConfig instance. |
Properties
| Name | Description |
|---|---|
| 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 |
If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true. |
| CpuCfsQuotaPeriod |
The CPU CFS quota period value. 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 CPU Manager policy to use. 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 |
The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85% |
| ImageGcLowThreshold |
The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80% |
| PodMaxPid |
The maximum number of processes per pod. |
| TopologyManagerPolicy |
The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of KubeletConfig. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of KubeletConfig. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IKubeletConfig. |
| FromJsonString(String) |
Creates a new instance of KubeletConfig, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of KubeletConfig into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |