kubernetes_asyncio.client.models.v1_stateful_set_status module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_stateful_set_status.V1StatefulSetStatus(available_replicas=None, collision_count=None, conditions=None, current_replicas=None, current_revision=None, observed_generation=None, ready_replicas=None, replicas=None, update_revision=None, updated_replicas=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'available_replicas': 'availableReplicas', 'collision_count': 'collisionCount', 'conditions': 'conditions', 'current_replicas': 'currentReplicas', 'current_revision': 'currentRevision', 'observed_generation': 'observedGeneration', 'ready_replicas': 'readyReplicas', 'replicas': 'replicas', 'update_revision': 'updateRevision', 'updated_replicas': 'updatedReplicas'}
property available_replicas

Gets the available_replicas of this V1StatefulSetStatus. # noqa: E501

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

Returns:

The available_replicas of this V1StatefulSetStatus. # noqa: E501

Return type:

int

property collision_count

Gets the collision_count of this V1StatefulSetStatus. # noqa: E501

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. # noqa: E501

Returns:

The collision_count of this V1StatefulSetStatus. # noqa: E501

Return type:

int

property conditions

Gets the conditions of this V1StatefulSetStatus. # noqa: E501

Represents the latest available observations of a statefulset’s current state. # noqa: E501

Returns:

The conditions of this V1StatefulSetStatus. # noqa: E501

Return type:

list[V1StatefulSetCondition]

property current_replicas

Gets the current_replicas of this V1StatefulSetStatus. # noqa: E501

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. # noqa: E501

Returns:

The current_replicas of this V1StatefulSetStatus. # noqa: E501

Return type:

int

property current_revision

Gets the current_revision of this V1StatefulSetStatus. # noqa: E501

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

Returns:

The current_revision of this V1StatefulSetStatus. # noqa: E501

Return type:

str

property observed_generation

Gets the observed_generation of this V1StatefulSetStatus. # noqa: E501

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. # noqa: E501

Returns:

The observed_generation of this V1StatefulSetStatus. # noqa: E501

Return type:

int

openapi_types = {'available_replicas': 'int', 'collision_count': 'int', 'conditions': 'list[V1StatefulSetCondition]', 'current_replicas': 'int', 'current_revision': 'str', 'observed_generation': 'int', 'ready_replicas': 'int', 'replicas': 'int', 'update_revision': 'str', 'updated_replicas': 'int'}
property ready_replicas

Gets the ready_replicas of this V1StatefulSetStatus. # noqa: E501

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition. # noqa: E501

Returns:

The ready_replicas of this V1StatefulSetStatus. # noqa: E501

Return type:

int

property replicas

Gets the replicas of this V1StatefulSetStatus. # noqa: E501

replicas is the number of Pods created by the StatefulSet controller. # noqa: E501

Returns:

The replicas of this V1StatefulSetStatus. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property update_revision

Gets the update_revision of this V1StatefulSetStatus. # noqa: E501

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

Returns:

The update_revision of this V1StatefulSetStatus. # noqa: E501

Return type:

str

property updated_replicas

Gets the updated_replicas of this V1StatefulSetStatus. # noqa: E501

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. # noqa: E501

Returns:

The updated_replicas of this V1StatefulSetStatus. # noqa: E501

Return type:

int