ArmContainerServiceModelFactory.KubeletHardEvictionThreshold Method

Definition

public static Azure.ResourceManager.ContainerService.Models.KubeletHardEvictionThreshold KubeletHardEvictionThreshold(string memoryAvailable = default, string nodeFsAvailable = default, string nodeFsInodesFree = default);
static member KubeletHardEvictionThreshold : string * string * string -> Azure.ResourceManager.ContainerService.Models.KubeletHardEvictionThreshold
Public Shared Function KubeletHardEvictionThreshold (Optional memoryAvailable As String = Nothing, Optional nodeFsAvailable As String = Nothing, Optional nodeFsInodesFree As String = Nothing) As KubeletHardEvictionThreshold

Parameters

memoryAvailable
String

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
String

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
String

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%.

Returns

A new KubeletHardEvictionThreshold instance for mocking.

Applies to