Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.22 KB

File metadata and controls

29 lines (22 loc) · 1.22 KB

V1DeploymentStrategy

DeploymentStrategy describes how to replace existing pods with new ones.

Properties

Name Type Description Notes
rolling_update V1RollingUpdateDeployment [optional]
type str Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. [optional]

Example

from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy

# TODO update the JSON string below
json = "{}"
# create an instance of V1DeploymentStrategy from a JSON string
v1_deployment_strategy_instance = V1DeploymentStrategy.from_json(json)
# print the JSON string representation of the object
print(V1DeploymentStrategy.to_json())

# convert the object into a dict
v1_deployment_strategy_dict = v1_deployment_strategy_instance.to_dict()
# create an instance of V1DeploymentStrategy from a dict
v1_deployment_strategy_from_dict = V1DeploymentStrategy.from_dict(v1_deployment_strategy_dict)

[Back to Model list] [Back to API list] [Back to README]