Class V1NodeStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1NodeStatus extends Object
NodeStatus is information about the current status of a node.
  • Field Details

  • Constructor Details

    • V1NodeStatus

      public V1NodeStatus()
  • Method Details

    • getAddresses

      public List<@Valid V1NodeAddress> getAddresses()
      List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).
      Returns:
      the addresses property value
    • setAddresses

      public void setAddresses(List<@Valid V1NodeAddress> addresses)
      Set the addresses property value
    • addresses

      public V1NodeStatus addresses(List<@Valid V1NodeAddress> addresses)
      Set addresses in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • addaddressesItem

      public V1NodeStatus addaddressesItem(V1NodeAddress addressesItem)
      Add an item to the addresses property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getAllocatable

      public Map<String,String> getAllocatable()
      Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
      Returns:
      the allocatable property value
    • setAllocatable

      public void setAllocatable(Map<String,String> allocatable)
      Set the allocatable property value
    • allocatable

      public V1NodeStatus allocatable(Map<String,String> allocatable)
      Set allocatable in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • putallocatableItem

      public V1NodeStatus putallocatableItem(String key, String allocatableItem)
      Set the value for the key for the allocatable map property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getCapacity

      public Map<String,String> getCapacity()
      Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
      Returns:
      the capacity property value
    • setCapacity

      public void setCapacity(Map<String,String> capacity)
      Set the capacity property value
    • capacity

      public V1NodeStatus capacity(Map<String,String> capacity)
      Set capacity in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • putcapacityItem

      public V1NodeStatus putcapacityItem(String key, String capacityItem)
      Set the value for the key for the capacity map property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getConditions

      public List<@Valid V1NodeCondition> getConditions()
      Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1NodeCondition> conditions)
      Set the conditions property value
    • conditions

      public V1NodeStatus conditions(List<@Valid V1NodeCondition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • addconditionsItem

      public V1NodeStatus addconditionsItem(V1NodeCondition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getConfig

      public V1NodeConfigStatus getConfig()
      Returns:
      the config property value
    • setConfig

      public void setConfig(V1NodeConfigStatus config)
      Set the config property value
    • config

      public V1NodeStatus config(V1NodeConfigStatus config)
      Set config in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getDaemonEndpoints

      public V1NodeDaemonEndpoints getDaemonEndpoints()
      Returns:
      the daemonEndpoints property value
    • setDaemonEndpoints

      public void setDaemonEndpoints(V1NodeDaemonEndpoints daemonEndpoints)
      Set the daemonEndpoints property value
    • daemonEndpoints

      public V1NodeStatus daemonEndpoints(V1NodeDaemonEndpoints daemonEndpoints)
      Set daemonEndpoints in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getImages

      public List<@Valid V1ContainerImage> getImages()
      List of container images on this node
      Returns:
      the images property value
    • setImages

      public void setImages(List<@Valid V1ContainerImage> images)
      Set the images property value
    • images

      public V1NodeStatus images(List<@Valid V1ContainerImage> images)
      Set images in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • addimagesItem

      public V1NodeStatus addimagesItem(V1ContainerImage imagesItem)
      Add an item to the images property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getNodeInfo

      public V1NodeSystemInfo getNodeInfo()
      Returns:
      the nodeInfo property value
    • setNodeInfo

      public void setNodeInfo(V1NodeSystemInfo nodeInfo)
      Set the nodeInfo property value
    • nodeInfo

      public V1NodeStatus nodeInfo(V1NodeSystemInfo nodeInfo)
      Set nodeInfo in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getPhase

      public String getPhase()
      NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
      Returns:
      the phase property value
    • setPhase

      public void setPhase(String phase)
      Set the phase property value
    • phase

      public V1NodeStatus phase(String phase)
      Set phase in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getVolumesAttached

      public List<@Valid V1AttachedVolume> getVolumesAttached()
      List of volumes that are attached to the node.
      Returns:
      the volumesAttached property value
    • setVolumesAttached

      public void setVolumesAttached(List<@Valid V1AttachedVolume> volumesAttached)
      Set the volumesAttached property value
    • volumesAttached

      public V1NodeStatus volumesAttached(List<@Valid V1AttachedVolume> volumesAttached)
      Set volumesAttached in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • addvolumesAttachedItem

      public V1NodeStatus addvolumesAttachedItem(V1AttachedVolume volumesAttachedItem)
      Add an item to the volumesAttached property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • getVolumesInUse

      public List<String> getVolumesInUse()
      List of attachable volumes in use (mounted) by the node.
      Returns:
      the volumesInUse property value
    • setVolumesInUse

      public void setVolumesInUse(List<String> volumesInUse)
      Set the volumesInUse property value
    • volumesInUse

      public V1NodeStatus volumesInUse(List<String> volumesInUse)
      Set volumesInUse in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • addvolumesInUseItem

      public V1NodeStatus addvolumesInUseItem(String volumesInUseItem)
      Add an item to the volumesInUse property in a chainable fashion.
      Returns:
      The same instance of V1NodeStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object