case class StatefulSetStatus(availableReplicas: Int, collisionCount: Optional[Int] = Optional.Absent, conditions: Optional[Vector[StatefulSetCondition]] = Optional.Absent, currentReplicas: Optional[Int] = Optional.Absent, currentRevision: Optional[String] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent, readyReplicas: Optional[Int] = Optional.Absent, replicas: Int, updateRevision: Optional[String] = Optional.Absent, updatedReplicas: Optional[Int] = Optional.Absent) extends Product with Serializable
StatefulSetStatus represents the current state of a StatefulSet.
- availableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
- 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.
- conditions
Represents the latest available observations of a statefulset's current state.
- currentReplicas
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
- currentRevision
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
- 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.
- readyReplicas
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
- replicas
replicas is the number of Pods created by the StatefulSet controller.
- updateRevision
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
- updatedReplicas
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
- Alphabetic
- By Inheritance
- StatefulSetStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StatefulSetStatus(availableReplicas: Int, collisionCount: Optional[Int] = Optional.Absent, conditions: Optional[Vector[StatefulSetCondition]] = Optional.Absent, currentReplicas: Optional[Int] = Optional.Absent, currentRevision: Optional[String] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent, readyReplicas: Optional[Int] = Optional.Absent, replicas: Int, updateRevision: Optional[String] = Optional.Absent, updatedReplicas: Optional[Int] = Optional.Absent)
- availableReplicas
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
- 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.
- conditions
Represents the latest available observations of a statefulset's current state.
- currentReplicas
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
- currentRevision
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
- 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.
- readyReplicas
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
- replicas
replicas is the number of Pods created by the StatefulSet controller.
- updateRevision
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
- updatedReplicas
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
Value Members
- val availableReplicas: Int
- val collisionCount: Optional[Int]
- val conditions: Optional[Vector[StatefulSetCondition]]
- val currentReplicas: Optional[Int]
- val currentRevision: Optional[String]
-
def
getAvailableReplicas: IO[K8sFailure, Int]
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.
This effect always succeeds, it is safe to use the field availableReplicas directly.
-
def
getCollisionCount: IO[K8sFailure, Int]
collisionCount is the count of hash collisions for the StatefulSet.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getConditions: IO[K8sFailure, Vector[StatefulSetCondition]]
Represents the latest available observations of a statefulset's current state.
Represents the latest available observations of a statefulset's current state.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCurrentReplicas: IO[K8sFailure, Int]
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCurrentRevision: IO[K8sFailure, String]
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getObservedGeneration: IO[K8sFailure, Long]
observedGeneration is the most recent generation observed for this StatefulSet.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadyReplicas: IO[K8sFailure, Int]
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReplicas: IO[K8sFailure, Int]
replicas is the number of Pods created by the StatefulSet controller.
replicas is the number of Pods created by the StatefulSet controller.
This effect always succeeds, it is safe to use the field replicas directly.
-
def
getUpdateRevision: IO[K8sFailure, String]
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getUpdatedReplicas: IO[K8sFailure, Int]
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val observedGeneration: Optional[Long]
- val readyReplicas: Optional[Int]
- val replicas: Int
- val updateRevision: Optional[String]
- val updatedReplicas: Optional[Int]