kubernetes_asyncio.client.models.v1_deployment_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_deployment_status.V1DeploymentStatus(available_replicas=None, collision_count=None, conditions=None, observed_generation=None, ready_replicas=None, replicas=None, terminating_replicas=None, unavailable_replicas=None, updated_replicas=None, local_vars_configuration=None)
Bases:
objectNOTE: 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', 'observed_generation': 'observedGeneration', 'ready_replicas': 'readyReplicas', 'replicas': 'replicas', 'terminating_replicas': 'terminatingReplicas', 'unavailable_replicas': 'unavailableReplicas', 'updated_replicas': 'updatedReplicas'}
- property available_replicas
Gets the available_replicas of this V1DeploymentStatus. # noqa: E501
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501
- Returns:
The available_replicas of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- property collision_count
Gets the collision_count of this V1DeploymentStatus. # noqa: E501
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. # noqa: E501
- Returns:
The collision_count of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- property conditions
Gets the conditions of this V1DeploymentStatus. # noqa: E501
Represents the latest available observations of a deployment’s current state. # noqa: E501
- Returns:
The conditions of this V1DeploymentStatus. # noqa: E501
- Return type:
list[V1DeploymentCondition]
- property observed_generation
Gets the observed_generation of this V1DeploymentStatus. # noqa: E501
The generation observed by the deployment controller. # noqa: E501
- Returns:
The observed_generation of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- openapi_types = {'available_replicas': 'int', 'collision_count': 'int', 'conditions': 'list[V1DeploymentCondition]', 'observed_generation': 'int', 'ready_replicas': 'int', 'replicas': 'int', 'terminating_replicas': 'int', 'unavailable_replicas': 'int', 'updated_replicas': 'int'}
- property ready_replicas
Gets the ready_replicas of this V1DeploymentStatus. # noqa: E501
Total number of non-terminating pods targeted by this Deployment with a Ready Condition. # noqa: E501
- Returns:
The ready_replicas of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- property replicas
Gets the replicas of this V1DeploymentStatus. # noqa: E501
Total number of non-terminating pods targeted by this deployment (their labels match the selector). # noqa: E501
- Returns:
The replicas of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- property terminating_replicas
Gets the terminating_replicas of this V1DeploymentStatus. # noqa: E501
Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field. # noqa: E501
- Returns:
The terminating_replicas of this V1DeploymentStatus. # 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
Gets the unavailable_replicas of this V1DeploymentStatus. # noqa: E501
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. # noqa: E501
- Returns:
The unavailable_replicas of this V1DeploymentStatus. # noqa: E501
- Return type:
int
- property updated_replicas
Gets the updated_replicas of this V1DeploymentStatus. # noqa: E501
Total number of non-terminating pods targeted by this deployment that have the desired template spec. # noqa: E501
- Returns:
The updated_replicas of this V1DeploymentStatus. # noqa: E501
- Return type:
int