Class StatefulSetStatusPatch


  • public final class StatefulSetStatusPatch
    extends java.lang.Object
    • Method Detail

      • collisionCount

        public java.util.Optional<java.lang.Integer> collisionCount()
        Returns:
        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.
      • conditions

        public java.util.List<StatefulSetConditionPatch> conditions()
        Returns:
        Represents the latest available observations of a statefulset's current state.
      • currentReplicas

        public java.util.Optional<java.lang.Integer> currentReplicas()
        Returns:
        currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
      • currentRevision

        public java.util.Optional<java.lang.String> currentRevision()
        Returns:
        currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
      • observedGeneration

        public java.util.Optional<java.lang.Integer> observedGeneration()
        Returns:
        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.
      • readyReplicas

        public java.util.Optional<java.lang.Integer> readyReplicas()
        Returns:
        readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
      • replicas

        public java.util.Optional<java.lang.Integer> replicas()
        Returns:
        replicas is the number of Pods created by the StatefulSet controller.
      • updateRevision

        public java.util.Optional<java.lang.String> updateRevision()
        Returns:
        updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
      • updatedReplicas

        public java.util.Optional<java.lang.Integer> updatedReplicas()
        Returns:
        updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.