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.
See AKS custom node configuration for more details.
public class KubeletConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.KubeletConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.KubeletConfig>
public class KubeletConfig
type KubeletConfig = class
interface IJsonModel<KubeletConfig>
interface IPersistableModel<KubeletConfig>
type KubeletConfig = class
Public Class KubeletConfig
Implements IJsonModel(Of KubeletConfig), IPersistableModel(Of KubeletConfig)
Public Class KubeletConfig
- Inheritance
-
KubeletConfig
- Implements
Constructors
KubeletConfig() |
Initializes a new instance of 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'. |
Explicit Interface Implementations
IJsonModel<KubeletConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<KubeletConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<KubeletConfig>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<KubeletConfig>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<KubeletConfig>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET