Class EvictionSignals (2.73.0)

public final class EvictionSignals extends GeneratedMessageV3 implements EvictionSignalsOrBuilder

Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.

Protobuf type google.container.v1.EvictionSignals

Static Fields

IMAGEFS_AVAILABLE_FIELD_NUMBER

public static final int IMAGEFS_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

IMAGEFS_INODES_FREE_FIELD_NUMBER

public static final int IMAGEFS_INODES_FREE_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_AVAILABLE_FIELD_NUMBER

public static final int MEMORY_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

NODEFS_AVAILABLE_FIELD_NUMBER

public static final int NODEFS_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

NODEFS_INODES_FREE_FIELD_NUMBER

public static final int NODEFS_INODES_FREE_FIELD_NUMBER
Field Value
Type Description
int

PID_AVAILABLE_FIELD_NUMBER

public static final int PID_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvictionSignals getDefaultInstance()
Returns
Type Description
EvictionSignals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EvictionSignals.Builder newBuilder()
Returns
Type Description
EvictionSignals.Builder

newBuilder(EvictionSignals prototype)

public static EvictionSignals.Builder newBuilder(EvictionSignals prototype)
Parameter
Name Description
prototype EvictionSignals
Returns
Type Description
EvictionSignals.Builder

parseDelimitedFrom(InputStream input)

public static EvictionSignals parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvictionSignals parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvictionSignals parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvictionSignals parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvictionSignals parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvictionSignals parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvictionSignals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvictionSignals> parser()
Returns
Type Description
Parser<EvictionSignals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EvictionSignals getDefaultInstanceForType()
Returns
Type Description
EvictionSignals

getImagefsAvailable()

public String getImagefsAvailable()

Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 15% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_available = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imagefsAvailable.

getImagefsAvailableBytes()

public ByteString getImagefsAvailableBytes()

Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 15% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_available = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imagefsAvailable.

getImagefsInodesFree()

public String getImagefsInodesFree()

Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_inodes_free = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imagefsInodesFree.

getImagefsInodesFreeBytes()

public ByteString getImagefsInodesFreeBytes()

Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string imagefs_inodes_free = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imagefsInodesFree.

getMemoryAvailable()

public String getMemoryAvailable()

Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string memory_available = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The memoryAvailable.

getMemoryAvailableBytes()

public ByteString getMemoryAvailableBytes()

Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string memory_available = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for memoryAvailable.

getNodefsAvailable()

public String getNodefsAvailable()

Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_available = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodefsAvailable.

getNodefsAvailableBytes()

public ByteString getNodefsAvailableBytes()

Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_available = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodefsAvailable.

getNodefsInodesFree()

public String getNodefsInodesFree()

Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_inodes_free = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nodefsInodesFree.

getNodefsInodesFreeBytes()

public ByteString getNodefsInodesFreeBytes()

Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string nodefs_inodes_free = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nodefsInodesFree.

getParserForType()

public Parser<EvictionSignals> getParserForType()
Returns
Type Description
Parser<EvictionSignals>
Overrides

getPidAvailable()

public String getPidAvailable()

Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string pid_available = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pidAvailable.

getPidAvailableBytes()

public ByteString getPidAvailableBytes()

Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

string pid_available = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pidAvailable.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvictionSignals.Builder newBuilderForType()
Returns
Type Description
EvictionSignals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvictionSignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvictionSignals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EvictionSignals.Builder toBuilder()
Returns
Type Description
EvictionSignals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException