UNPKG

@jkcfg/kubernetes

Version:
66 lines 2.6 kB
{ "$schema": "http://json-schema.org/schema#", "required": [ "replicas" ], "type": "object", "description": "StatefulSetStatus represents the current state of a StatefulSet.", "properties": { "updateRevision": { "type": [ "string", "null" ], "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)" }, "collisionCount": { "type": "integer", "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" }, "replicas": { "type": "integer", "description": "replicas is the number of Pods created by the StatefulSet controller.", "format": "int32" }, "observedGeneration": { "type": "integer", "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" }, "currentReplicas": { "type": "integer", "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", "format": "int32" }, "updatedReplicas": { "type": "integer", "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", "format": "int32" }, "currentRevision": { "type": [ "string", "null" ], "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas)." }, "readyReplicas": { "type": "integer", "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", "format": "int32" }, "conditions": { "items": { "$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1beta2.StatefulSetCondition" }, "type": [ "array", "null" ], "description": "Represents the latest available observations of a statefulset's current state.", "x-kubernetes-patch-strategy": "merge", "x-kubernetes-patch-merge-key": "type" } } }