# io.k8s.api.apps.v1.StatefulSetStatus

From **Kubernetes**.

StatefulSetStatus represents the current state of a StatefulSet.

- Type: `object`

## Properties

### `availableReplicas`

- Required: false
- Type: `integer`
- Format: `int32`
- Default: `0`

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

### `collisionCount`

- Required: false
- Type: `integer`
- Format: `int32`

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`

- Required: false
- Type: `array`

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

### `currentReplicas`

- Required: false
- Type: `integer`
- Format: `int32`

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

### `currentRevision`

- Required: false
- Type: `string`

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

### `observedGeneration`

- Required: false
- Type: `integer`
- Format: `int64`

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`

- Required: false
- Type: `integer`
- Format: `int32`

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

### `replicas`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

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

### `updateRevision`

- Required: false
- Type: `string`

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

### `updatedReplicas`

- Required: false
- Type: `integer`
- Format: `int32`

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

## JSON Schema

```json
{"description":"StatefulSetStatus represents the current state of a StatefulSet.","properties":{"availableReplicas":{"default":0,"description":"Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.","format":"int32","type":"integer"},"collisionCount":{"description":"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.","format":"int32","type":"integer"},"conditions":{"description":"Represents the latest available observations of a statefulset's current state.","items":{"$ref":"#/components/schemas/io.k8s.api.apps.v1.StatefulSetCondition"},"type":"array","x-kubernetes-list-map-keys":["type"],"x-kubernetes-list-type":"map","x-kubernetes-patch-merge-key":"type","x-kubernetes-patch-strategy":"merge"},"currentReplicas":{"description":"currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.","format":"int32","type":"integer"},"currentRevision":{"description":"currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).","type":"string"},"observedGeneration":{"description":"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.","format":"int64","type":"integer"},"readyReplicas":{"description":"readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.","format":"int32","type":"integer"},"replicas":{"default":0,"description":"replicas is the number of Pods created by the StatefulSet controller.","format":"int32","type":"integer"},"updateRevision":{"description":"updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)","type":"string"},"updatedReplicas":{"description":"updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.","format":"int32","type":"integer"}},"required":["replicas"],"type":"object"}
```
