StatefulSetStatus

case class StatefulSetStatus(collisionCount: Optional[Int], conditions: Optional[Vector[StatefulSetCondition]], currentReplicas: Optional[Int], currentRevision: Optional[String], observedGeneration: Optional[Long], readyReplicas: Optional[Int], replicas: Int, updateRevision: Optional[String], updatedReplicas: Optional[Int])

StatefulSetStatus represents the current state of a StatefulSet.

StatefulSetStatus represents the current state of a StatefulSet.

Value Params
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 by the StatefulSet controller that have 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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

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.

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.

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.

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.

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.

readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.

readyReplicas is the number of Pods created by the StatefulSet controller that have 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.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product