Skip to content

apps.v1.statefulSetStatus

"StatefulSetStatus represents the current state of a StatefulSet."

Index

Fields

fn withAvailableReplicas

withAvailableReplicas(availableReplicas)

"Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset."

fn withCollisionCount

withCollisionCount(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."

fn withConditions

withConditions(conditions)

"Represents the latest available observations of a statefulset's current state."

fn withConditionsMixin

withConditionsMixin(conditions)

"Represents the latest available observations of a statefulset's current state."

Note: This function appends passed data to existing values

fn withCurrentReplicas

withCurrentReplicas(currentReplicas)

"currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision."

fn withCurrentRevision

withCurrentRevision(currentRevision)

"currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)."

fn withObservedGeneration

withObservedGeneration(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."

fn withReadyReplicas

withReadyReplicas(readyReplicas)

"readyReplicas is the number of pods created for this StatefulSet with a Ready Condition."

fn withReplicas

withReplicas(replicas)

"replicas is the number of Pods created by the StatefulSet controller."

fn withUpdateRevision

withUpdateRevision(updateRevision)

"updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)"

fn withUpdatedReplicas

withUpdatedReplicas(updatedReplicas)

"updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision."