Class V1DeploymentSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1DeploymentSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1DeploymentSpec
extends Object
DeploymentSpec is the specification of the desired behavior of the Deployment.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.Indicates that the deployment is paused.The maximum time in seconds for a deployment to make progress before it is considered to be failed.Number of desired pods.The number of old ReplicaSets to retain to allow rollback.Get selectorGet strategyGet templateint
hashCode()
minReadySeconds
(Integer minReadySeconds) progressDeadlineSeconds
(Integer progressDeadlineSeconds) revisionHistoryLimit
(Integer revisionHistoryLimit) selector
(V1LabelSelector selector) void
setMinReadySeconds
(Integer minReadySeconds) void
void
setProgressDeadlineSeconds
(Integer progressDeadlineSeconds) void
setReplicas
(Integer replicas) void
setRevisionHistoryLimit
(Integer revisionHistoryLimit) void
setSelector
(V1LabelSelector selector) void
setStrategy
(V1DeploymentStrategy strategy) void
setTemplate
(V1PodTemplateSpec template) strategy
(V1DeploymentStrategy strategy) template
(V1PodTemplateSpec template) toString()
-
Field Details
-
SERIALIZED_NAME_MIN_READY_SECONDS
- See Also:
-
SERIALIZED_NAME_PAUSED
- See Also:
-
SERIALIZED_NAME_PROGRESS_DEADLINE_SECONDS
- See Also:
-
SERIALIZED_NAME_REPLICAS
- See Also:
-
SERIALIZED_NAME_REVISION_HISTORY_LIMIT
- See Also:
-
SERIALIZED_NAME_SELECTOR
- See Also:
-
SERIALIZED_NAME_STRATEGY
- See Also:
-
SERIALIZED_NAME_TEMPLATE
- See Also:
-
-
Constructor Details
-
V1DeploymentSpec
public V1DeploymentSpec()
-
-
Method Details
-
minReadySeconds
-
getMinReadySeconds
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)- Returns:
- minReadySeconds
-
setMinReadySeconds
-
paused
-
getPaused
Indicates that the deployment is paused.- Returns:
- paused
-
setPaused
-
progressDeadlineSeconds
-
getProgressDeadlineSeconds
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.- Returns:
- progressDeadlineSeconds
-
setProgressDeadlineSeconds
-
replicas
-
getReplicas
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.- Returns:
- replicas
-
setReplicas
-
revisionHistoryLimit
-
getRevisionHistoryLimit
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.- Returns:
- revisionHistoryLimit
-
setRevisionHistoryLimit
-
selector
-
getSelector
Get selector- Returns:
- selector
-
setSelector
-
strategy
-
getStrategy
Get strategy- Returns:
- strategy
-
setStrategy
-
template
-
getTemplate
Get template- Returns:
- template
-
setTemplate
-
equals
-
hashCode
public int hashCode() -
toString
-