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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EvictionSignals.Builder newBuilder()
newBuilder(EvictionSignals prototype)
public static EvictionSignals.Builder newBuilder(EvictionSignals prototype)
public static EvictionSignals parseDelimitedFrom(InputStream input)
public static EvictionSignals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EvictionSignals parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EvictionSignals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EvictionSignals parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvictionSignals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvictionSignals parseFrom(CodedInputStream input)
public static EvictionSignals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EvictionSignals parseFrom(InputStream input)
public static EvictionSignals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EvictionSignals parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EvictionSignals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EvictionSignals> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public EvictionSignals getDefaultInstanceForType()
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()
Returns |
Type |
Description |
String |
The nodefsAvailable.
|
getNodefsAvailableBytes()
public ByteString getNodefsAvailableBytes()
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()
Overrides
getPidAvailable()
public String getPidAvailable()
Returns |
Type |
Description |
String |
The pidAvailable.
|
getPidAvailableBytes()
public ByteString getPidAvailableBytes()
Returns |
Type |
Description |
ByteString |
The bytes for pidAvailable.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EvictionSignals.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EvictionSignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EvictionSignals.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides