Language

SoftEvictionThreshold Class

Definition

Soft eviction thresholds for kubelet. These thresholds trigger graceful pod eviction when node resources drop below the specified values for at least the corresponding grace period defined in softEvictionGracePeriod. Supported formats are Ki, Mi, Gi, or percentages using %.

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

Constructors

Name Description
SoftEvictionThreshold()

Initializes a new instance of SoftEvictionThreshold.

Properties

Name Description
MemoryAvailable

The threshold for available memory below which soft pod eviction is triggered. Accepts absolute values (e.g. '500Mi') or percentage values (e.g. '5%'). Absolute minimum is 100Mi; percentage minimum is 2%. Default uses a capacity-based step ladder: 500Mi for nodes with <=8GiB, 750Mi for 16GiB, and 1024Mi (1Gi) for >=32GiB. Must also be greater than the effective hardEvictionThreshold.memoryAvailable.

NodeFsAvailable

The threshold for available node filesystem space below which soft pod eviction is triggered. Accepts absolute values (e.g. '1Gi') or percentage values (e.g. '10%'). Default is '12%'. Must be greater than or equal to 10% and greater than the effective hardEvictionThreshold.nodeFsAvailable.

NodeFsInodesFree

The threshold for available inodes on the node filesystem below which soft pod eviction is triggered. Accepts absolute inode counts (e.g. '100000') or percentage values (e.g. '5%'). Default is '7%'. Percentage values must be greater than or equal to 5% and greater than the effective hardEvictionThreshold.nodeFsInodesFree.

Methods

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

Explicit Interface Implementations

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

Applies to