Class EvictionSignals

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.EvictionSignals
All Implemented Interfaces:
EvictionSignalsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EvictionSignals extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • MEMORY_AVAILABLE_FIELD_NUMBER

      public static final int MEMORY_AVAILABLE_FIELD_NUMBER
      See Also:
    • NODEFS_AVAILABLE_FIELD_NUMBER

      public static final int NODEFS_AVAILABLE_FIELD_NUMBER
      See Also:
    • NODEFS_INODES_FREE_FIELD_NUMBER

      public static final int NODEFS_INODES_FREE_FIELD_NUMBER
      See Also:
    • IMAGEFS_AVAILABLE_FIELD_NUMBER

      public static final int IMAGEFS_AVAILABLE_FIELD_NUMBER
      See Also:
    • IMAGEFS_INODES_FREE_FIELD_NUMBER

      public static final int IMAGEFS_INODES_FREE_FIELD_NUMBER
      See Also:
    • PID_AVAILABLE_FIELD_NUMBER

      public static final int PID_AVAILABLE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getMemoryAvailable in interface EvictionSignalsOrBuilder
      Returns:
      The memoryAvailable.
    • getMemoryAvailableBytes

      public com.google.protobuf.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];
      Specified by:
      getMemoryAvailableBytes in interface EvictionSignalsOrBuilder
      Returns:
      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];
      Specified by:
      getNodefsAvailable in interface EvictionSignalsOrBuilder
      Returns:
      The nodefsAvailable.
    • getNodefsAvailableBytes

      public com.google.protobuf.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];
      Specified by:
      getNodefsAvailableBytes in interface EvictionSignalsOrBuilder
      Returns:
      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];
      Specified by:
      getNodefsInodesFree in interface EvictionSignalsOrBuilder
      Returns:
      The nodefsInodesFree.
    • getNodefsInodesFreeBytes

      public com.google.protobuf.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];
      Specified by:
      getNodefsInodesFreeBytes in interface EvictionSignalsOrBuilder
      Returns:
      The bytes for nodefsInodesFree.
    • 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];
      Specified by:
      getImagefsAvailable in interface EvictionSignalsOrBuilder
      Returns:
      The imagefsAvailable.
    • getImagefsAvailableBytes

      public com.google.protobuf.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];
      Specified by:
      getImagefsAvailableBytes in interface EvictionSignalsOrBuilder
      Returns:
      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];
      Specified by:
      getImagefsInodesFree in interface EvictionSignalsOrBuilder
      Returns:
      The imagefsInodesFree.
    • getImagefsInodesFreeBytes

      public com.google.protobuf.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];
      Specified by:
      getImagefsInodesFreeBytes in interface EvictionSignalsOrBuilder
      Returns:
      The bytes for imagefsInodesFree.
    • 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];
      Specified by:
      getPidAvailable in interface EvictionSignalsOrBuilder
      Returns:
      The pidAvailable.
    • getPidAvailableBytes

      public com.google.protobuf.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];
      Specified by:
      getPidAvailableBytes in interface EvictionSignalsOrBuilder
      Returns:
      The bytes for pidAvailable.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EvictionSignals parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvictionSignals parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvictionSignals parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EvictionSignals parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EvictionSignals parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvictionSignals parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvictionSignals parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EvictionSignals.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EvictionSignals.Builder newBuilder()
    • newBuilder

      public static EvictionSignals.Builder newBuilder(EvictionSignals prototype)
    • toBuilder

      public EvictionSignals.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EvictionSignals.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EvictionSignals getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EvictionSignals> parser()
    • getParserForType

      public com.google.protobuf.Parser<EvictionSignals> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EvictionSignals getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder