Class StatefulSetStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<StatefulSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class StatefulSetStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<StatefulSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    StatefulSetStatus represents the current state of a StatefulSet.
    See Also:
    Serialized Form
    • Method Detail

      • getAvailableReplicas

        public Integer getAvailableReplicas()
        Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
      • setAvailableReplicas

        public void setAvailableReplicas​(Integer availableReplicas)
        Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
      • getCollisionCount

        public Integer getCollisionCount()
        collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
      • setCollisionCount

        public void setCollisionCount​(Integer collisionCount)
        collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
      • getConditions

        public List<StatefulSetCondition> getConditions()
        Represents the latest available observations of a statefulset's current state.
      • setConditions

        public void setConditions​(List<StatefulSetCondition> conditions)
        Represents the latest available observations of a statefulset's current state.
      • getCurrentReplicas

        public Integer getCurrentReplicas()
        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
      • setCurrentReplicas

        public void setCurrentReplicas​(Integer currentReplicas)
        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
      • getCurrentRevision

        public String getCurrentRevision()
        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
      • setCurrentRevision

        public void setCurrentRevision​(String currentRevision)
        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
      • getObservedGeneration

        public Long getObservedGeneration()
        observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
      • getReadyReplicas

        public Integer getReadyReplicas()
        readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
      • setReadyReplicas

        public void setReadyReplicas​(Integer readyReplicas)
        readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
      • getReplicas

        public Integer getReplicas()
        replicas is the number of Pods created by the StatefulSet controller.
      • setReplicas

        public void setReplicas​(Integer replicas)
        replicas is the number of Pods created by the StatefulSet controller.
      • getUpdateRevision

        public String getUpdateRevision()
        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
      • setUpdateRevision

        public void setUpdateRevision​(String updateRevision)
        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
      • getUpdatedReplicas

        public Integer getUpdatedReplicas()
        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
      • setUpdatedReplicas

        public void setUpdatedReplicas​(Integer updatedReplicas)
        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)