Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1DeploymentSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1DeploymentSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1DeploymentSpec extends Object
DeploymentSpec is the specification of the desired behavior of the Deployment.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MIN_READY_SECONDSstatic StringJSON_PROPERTY_PAUSEDstatic StringJSON_PROPERTY_PROGRESS_DEADLINE_SECONDSstatic StringJSON_PROPERTY_REPLICASstatic StringJSON_PROPERTY_REVISION_HISTORY_LIMITstatic StringJSON_PROPERTY_SELECTORstatic StringJSON_PROPERTY_STRATEGYstatic StringJSON_PROPERTY_TEMPLATE
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1DeploymentSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MIN_READY_SECONDS
public static final String JSON_PROPERTY_MIN_READY_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAUSED
public static final String JSON_PROPERTY_PAUSED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROGRESS_DEADLINE_SECONDS
public static final String JSON_PROPERTY_PROGRESS_DEADLINE_SECONDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPLICAS
public static final String JSON_PROPERTY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REVISION_HISTORY_LIMIT
public static final String JSON_PROPERTY_REVISION_HISTORY_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELECTOR
public static final String JSON_PROPERTY_SELECTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STRATEGY
public static final String JSON_PROPERTY_STRATEGY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
minReadySeconds
public IoK8sApiAppsV1DeploymentSpec minReadySeconds(Integer minReadySeconds)
-
getMinReadySeconds
@Nullable public Integer 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
public void setMinReadySeconds(Integer minReadySeconds)
-
paused
public IoK8sApiAppsV1DeploymentSpec paused(Boolean paused)
-
getPaused
@Nullable public Boolean getPaused()
Indicates that the deployment is paused.- Returns:
- paused
-
setPaused
public void setPaused(Boolean paused)
-
progressDeadlineSeconds
public IoK8sApiAppsV1DeploymentSpec progressDeadlineSeconds(Integer progressDeadlineSeconds)
-
getProgressDeadlineSeconds
@Nullable public Integer 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
public void setProgressDeadlineSeconds(Integer progressDeadlineSeconds)
-
replicas
public IoK8sApiAppsV1DeploymentSpec replicas(Integer replicas)
-
getReplicas
@Nullable public Integer getReplicas()
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.- Returns:
- replicas
-
setReplicas
public void setReplicas(Integer replicas)
-
revisionHistoryLimit
public IoK8sApiAppsV1DeploymentSpec revisionHistoryLimit(Integer revisionHistoryLimit)
-
getRevisionHistoryLimit
@Nullable public Integer 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
public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
-
selector
public IoK8sApiAppsV1DeploymentSpec selector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
getSelector
public IoK8sApimachineryPkgApisMetaV1LabelSelector getSelector()
Get selector- Returns:
- selector
-
setSelector
public void setSelector(IoK8sApimachineryPkgApisMetaV1LabelSelector selector)
-
strategy
public IoK8sApiAppsV1DeploymentSpec strategy(IoK8sApiAppsV1DeploymentStrategy strategy)
-
getStrategy
@Nullable public IoK8sApiAppsV1DeploymentStrategy getStrategy()
Get strategy- Returns:
- strategy
-
setStrategy
public void setStrategy(IoK8sApiAppsV1DeploymentStrategy strategy)
-
template
public IoK8sApiAppsV1DeploymentSpec template(IoK8sApiCoreV1PodTemplateSpec template)
-
getTemplate
public IoK8sApiCoreV1PodTemplateSpec getTemplate()
Get template- Returns:
- template
-
setTemplate
public void setTemplate(IoK8sApiCoreV1PodTemplateSpec template)
-
-