KubeletHardEvictionThreshold Class

Definition

Hard eviction thresholds for kubelet. These thresholds trigger pod eviction when node resources drop below the specified values. Values must be greater than or equal to the documented minimums for each signal. Supported formats are Ki, Mi, Gi, or percentages using %.

public class KubeletHardEvictionThreshold : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.KubeletHardEvictionThreshold>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.KubeletHardEvictionThreshold>
type KubeletHardEvictionThreshold = class
    interface IJsonModel<KubeletHardEvictionThreshold>
    interface IPersistableModel<KubeletHardEvictionThreshold>
Public Class KubeletHardEvictionThreshold
Implements IJsonModel(Of KubeletHardEvictionThreshold), IPersistableModel(Of KubeletHardEvictionThreshold)
Inheritance
KubeletHardEvictionThreshold
Implements

Constructors

Name Description
KubeletHardEvictionThreshold()

Initializes a new instance of KubeletHardEvictionThreshold.

Properties

Name Description
MemoryAvailable

The threshold for available memory below which pod eviction is triggered. Accepts absolute values (e.g. '500Mi') or percentage values (e.g. '5%'). Absolute values must be greater than or equal to 100Mi. Percentage values must be greater than or equal to 2%.

NodeFsAvailable

The threshold for available node filesystem space below which pod eviction is triggered. Accepts absolute values (e.g. '1Gi') or percentage values (e.g. '10%'). Must be greater than or equal to the system default of 10%.

NodeFsInodesFree

The threshold for available inodes on the node filesystem below which pod eviction is triggered. Accepts absolute inode counts (e.g. '100000') or percentage values (e.g. '5%'). Percentage values must be greater than or equal to the system default of 5%.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<KubeletHardEvictionThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<KubeletHardEvictionThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<KubeletHardEvictionThreshold>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<KubeletHardEvictionThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<KubeletHardEvictionThreshold>.Write(ModelReaderWriterOptions)

Applies to