Class V1DaemonSetStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DaemonSetStatus extends Object
DaemonSetStatus represents the current status of a daemon set.
  • Field Details

  • Constructor Details

    • V1DaemonSetStatus

      public V1DaemonSetStatus(Integer currentNumberScheduled, Integer desiredNumberScheduled, Integer numberMisscheduled, Integer numberReady)
  • Method Details

    • getCollisionCount

      public Integer getCollisionCount()
      Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
      Returns:
      the collisionCount property value
    • setCollisionCount

      public void setCollisionCount(Integer collisionCount)
      Set the collisionCount property value
    • collisionCount

      public V1DaemonSetStatus collisionCount(Integer collisionCount)
      Set collisionCount in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getConditions

      public List<@Valid V1DaemonSetCondition> getConditions()
      Represents the latest available observations of a DaemonSet's current state.
      Returns:
      the conditions property value
    • setConditions

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

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

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

      public Integer getCurrentNumberScheduled()
      The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
      Returns:
      the currentNumberScheduled property value
    • setCurrentNumberScheduled

      public void setCurrentNumberScheduled(Integer currentNumberScheduled)
      Set the currentNumberScheduled property value
    • currentNumberScheduled

      public V1DaemonSetStatus currentNumberScheduled(Integer currentNumberScheduled)
      Set currentNumberScheduled in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getDesiredNumberScheduled

      public Integer getDesiredNumberScheduled()
      The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
      Returns:
      the desiredNumberScheduled property value
    • setDesiredNumberScheduled

      public void setDesiredNumberScheduled(Integer desiredNumberScheduled)
      Set the desiredNumberScheduled property value
    • desiredNumberScheduled

      public V1DaemonSetStatus desiredNumberScheduled(Integer desiredNumberScheduled)
      Set desiredNumberScheduled in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getNumberAvailable

      public Integer getNumberAvailable()
      The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
      Returns:
      the numberAvailable property value
    • setNumberAvailable

      public void setNumberAvailable(Integer numberAvailable)
      Set the numberAvailable property value
    • numberAvailable

      public V1DaemonSetStatus numberAvailable(Integer numberAvailable)
      Set numberAvailable in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getNumberMisscheduled

      public Integer getNumberMisscheduled()
      The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
      Returns:
      the numberMisscheduled property value
    • setNumberMisscheduled

      public void setNumberMisscheduled(Integer numberMisscheduled)
      Set the numberMisscheduled property value
    • numberMisscheduled

      public V1DaemonSetStatus numberMisscheduled(Integer numberMisscheduled)
      Set numberMisscheduled in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getNumberReady

      public Integer getNumberReady()
      numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.
      Returns:
      the numberReady property value
    • setNumberReady

      public void setNumberReady(Integer numberReady)
      Set the numberReady property value
    • numberReady

      public V1DaemonSetStatus numberReady(Integer numberReady)
      Set numberReady in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getNumberUnavailable

      public Integer getNumberUnavailable()
      The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
      Returns:
      the numberUnavailable property value
    • setNumberUnavailable

      public void setNumberUnavailable(Integer numberUnavailable)
      Set the numberUnavailable property value
    • numberUnavailable

      public V1DaemonSetStatus numberUnavailable(Integer numberUnavailable)
      Set numberUnavailable in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getObservedGeneration

      public Long getObservedGeneration()
      The most recent generation observed by the daemon set controller.
      Returns:
      the observedGeneration property value
    • setObservedGeneration

      public void setObservedGeneration(Long observedGeneration)
      Set the observedGeneration property value
    • observedGeneration

      public V1DaemonSetStatus observedGeneration(Long observedGeneration)
      Set observedGeneration in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus for chaining.
    • getUpdatedNumberScheduled

      public Integer getUpdatedNumberScheduled()
      The total number of nodes that are running updated daemon pod
      Returns:
      the updatedNumberScheduled property value
    • setUpdatedNumberScheduled

      public void setUpdatedNumberScheduled(Integer updatedNumberScheduled)
      Set the updatedNumberScheduled property value
    • updatedNumberScheduled

      public V1DaemonSetStatus updatedNumberScheduled(Integer updatedNumberScheduled)
      Set updatedNumberScheduled in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetStatus 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