{
  "description": "StatefulSetStatus represents the current state of a StatefulSet.",
  "properties": {
    "availableReplicas": {
      "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "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",
        "null"
      ]
    },
    "conditions": {
      "description": "Represents the latest available observations of a statefulset's current state.",
      "items": {
        "description": "StatefulSetCondition describes the state of a statefulset at a certain point.",
        "properties": {
          "lastTransitionTime": {
            "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "description": "A human readable message indicating details about the transition.",
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "description": "The reason for the condition's last transition.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "description": "Status of the condition, one of True, False, Unknown.",
            "type": "string"
          },
          "type": {
            "description": "Type of statefulset condition.",
            "type": "string"
          }
        },
        "required": [
          "type",
          "status"
        ],
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": false
      },
      "type": [
        "array",
        "null"
      ],
      "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",
        "null"
      ]
    },
    "currentRevision": {
      "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).",
      "type": [
        "string",
        "null"
      ]
    },
    "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",
        "null"
      ]
    },
    "readyReplicas": {
      "description": "readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "replicas": {
      "description": "replicas is the number of Pods created by the StatefulSet controller.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "updateRevision": {
      "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)",
      "type": [
        "string",
        "null"
      ]
    },
    "updatedReplicas": {
      "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "replicas"
  ],
  "type": "object",
  "additionalProperties": false,
  "$schema": "http://json-schema.org/schema#"
}