ReplicaSetSpec is the specification of a ReplicaSet.
| Name | Type | Description | Notes |
|---|---|---|---|
| min_ready_seconds | int | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] |
| replicas | int | Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset | [optional] |
| selector | V1LabelSelector | ||
| template | V1PodTemplateSpec | [optional] |
from kubernetes.client.models.v1_replica_set_spec import V1ReplicaSetSpec
# TODO update the JSON string below
json = "{}"
# create an instance of V1ReplicaSetSpec from a JSON string
v1_replica_set_spec_instance = V1ReplicaSetSpec.from_json(json)
# print the JSON string representation of the object
print(V1ReplicaSetSpec.to_json())
# convert the object into a dict
v1_replica_set_spec_dict = v1_replica_set_spec_instance.to_dict()
# create an instance of V1ReplicaSetSpec from a dict
v1_replica_set_spec_from_dict = V1ReplicaSetSpec.from_dict(v1_replica_set_spec_dict)