Class EvictionSignals.Builder (2.73.0)

public static final class EvictionSignals.Builder extends GeneratedMessageV3.Builder<EvictionSignals.Builder> 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.v1beta1.EvictionSignals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvictionSignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvictionSignals.Builder
Overrides

build()

public EvictionSignals build()
Returns
Type Description
EvictionSignals

buildPartial()

public EvictionSignals buildPartial()
Returns
Type Description
EvictionSignals

clear()

public EvictionSignals.Builder clear()
Returns
Type Description
EvictionSignals.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EvictionSignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EvictionSignals.Builder
Overrides

clearImagefsAvailable()

public EvictionSignals.Builder clearImagefsAvailable()

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. Sample format: "30%". Must be >= 15%. 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
EvictionSignals.Builder

This builder for chaining.

clearImagefsInodesFree()

public EvictionSignals.Builder clearImagefsInodesFree()

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. Sample format: "30%". Must be >= 5%. 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
EvictionSignals.Builder

This builder for chaining.

clearMemoryAvailable()

public EvictionSignals.Builder clearMemoryAvailable()

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
EvictionSignals.Builder

This builder for chaining.

clearNodefsAvailable()

public EvictionSignals.Builder clearNodefsAvailable()

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. Sample format: "30%". Must be >= 10%. 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
EvictionSignals.Builder

This builder for chaining.

clearNodefsInodesFree()

public EvictionSignals.Builder clearNodefsInodesFree()

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
EvictionSignals.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EvictionSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EvictionSignals.Builder
Overrides

clearPidAvailable()

public EvictionSignals.Builder clearPidAvailable()

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. Sample format: "30%". Must be >= 10%. 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
EvictionSignals.Builder

This builder for chaining.

clone()

public EvictionSignals.Builder clone()
Returns
Type Description
EvictionSignals.Builder
Overrides

getDefaultInstanceForType()

public EvictionSignals getDefaultInstanceForType()
Returns
Type Description
EvictionSignals

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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. Sample format: "30%". Must be >= 15%. 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. Sample format: "30%". Must be >= 15%. 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. Sample format: "30%". Must be >= 5%. 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. Sample format: "30%". Must be >= 5%. 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. Sample format: "30%". Must be >= 10%. 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. Sample format: "30%". Must be >= 10%. 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.

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. Sample format: "30%". Must be >= 10%. 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. Sample format: "30%". Must be >= 10%. 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvictionSignals other)

public EvictionSignals.Builder mergeFrom(EvictionSignals other)
Parameter
Name Description
other EvictionSignals
Returns
Type Description
EvictionSignals.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvictionSignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvictionSignals.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvictionSignals.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvictionSignals.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvictionSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvictionSignals.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EvictionSignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvictionSignals.Builder
Overrides

setImagefsAvailable(String value)

public EvictionSignals.Builder setImagefsAvailable(String value)

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. Sample format: "30%". Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value String

The imagefsAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setImagefsAvailableBytes(ByteString value)

public EvictionSignals.Builder setImagefsAvailableBytes(ByteString value)

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. Sample format: "30%". Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value ByteString

The bytes for imagefsAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setImagefsInodesFree(String value)

public EvictionSignals.Builder setImagefsInodesFree(String value)

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. Sample format: "30%". Must be >= 5%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value String

The imagefsInodesFree to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setImagefsInodesFreeBytes(ByteString value)

public EvictionSignals.Builder setImagefsInodesFreeBytes(ByteString value)

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. Sample format: "30%". Must be >= 5%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value ByteString

The bytes for imagefsInodesFree to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setMemoryAvailable(String value)

public EvictionSignals.Builder setMemoryAvailable(String value)

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];

Parameter
Name Description
value String

The memoryAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setMemoryAvailableBytes(ByteString value)

public EvictionSignals.Builder setMemoryAvailableBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for memoryAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setNodefsAvailable(String value)

public EvictionSignals.Builder setNodefsAvailable(String value)

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. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value String

The nodefsAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setNodefsAvailableBytes(ByteString value)

public EvictionSignals.Builder setNodefsAvailableBytes(ByteString value)

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. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value ByteString

The bytes for nodefsAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setNodefsInodesFree(String value)

public EvictionSignals.Builder setNodefsInodesFree(String value)

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];

Parameter
Name Description
value String

The nodefsInodesFree to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setNodefsInodesFreeBytes(ByteString value)

public EvictionSignals.Builder setNodefsInodesFreeBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for nodefsInodesFree to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setPidAvailable(String value)

public EvictionSignals.Builder setPidAvailable(String value)

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. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value String

The pidAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setPidAvailableBytes(ByteString value)

public EvictionSignals.Builder setPidAvailableBytes(ByteString value)

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. Sample format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals

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

Parameter
Name Description
value ByteString

The bytes for pidAvailable to set.

Returns
Type Description
EvictionSignals.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EvictionSignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EvictionSignals.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EvictionSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvictionSignals.Builder
Overrides