Language

SoftEvictionGracePeriod Class

Definition

Grace periods for kubelet soft eviction thresholds. Each field is a Go-style duration string (e.g. '1m30s') that specifies how long the corresponding soft eviction signal must be crossed before pod eviction is triggered. A grace period only applies when the matching soft eviction threshold is set.

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

Constructors

Name Description
SoftEvictionGracePeriod()

Initializes a new instance of SoftEvictionGracePeriod.

Properties

Name Description
MemoryAvailable

The grace period for the memoryAvailable soft eviction signal, expressed as a Go-style duration string (e.g. '30s', '1m30s'). Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. Must be greater than or equal to '30s'. Default is '30s'.

NodeFsAvailable

The grace period for the nodeFsAvailable soft eviction signal, expressed as a Go-style duration string (e.g. '30s', '1m30s'). Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. Must be greater than or equal to '30s'. Default is '2m'.

NodeFsInodesFree

The grace period for the nodeFsInodesFree soft eviction signal, expressed as a Go-style duration string (e.g. '30s', '1m30s'). Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'. Must be greater than or equal to '30s'. Default is '2m'.

Methods

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

Explicit Interface Implementations

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

Applies to