public static interface V1beta1Extensions.DeploymentSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
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.
|
boolean |
getPaused()
Indicates that the deployment is paused and will not be processed by the
deployment controller.
|
int |
getProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it
is considered to be failed.
|
int |
getReplicas()
Number of desired pods.
|
int |
getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.
|
V1beta1Extensions.RollbackConfig |
getRollbackTo()
DEPRECATED.
|
V1beta1Extensions.RollbackConfigOrBuilder |
getRollbackToOrBuilder()
DEPRECATED.
|
Meta.LabelSelector |
getSelector()
Label selector for pods.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
Label selector for pods.
|
V1beta1Extensions.DeploymentStrategy |
getStrategy()
The deployment strategy to use to replace existing pods with new ones.
|
V1beta1Extensions.DeploymentStrategyOrBuilder |
getStrategyOrBuilder()
The deployment strategy to use to replace existing pods with new ones.
|
V1.PodTemplateSpec |
getTemplate()
Template describes the pods that will be created.
|
V1.PodTemplateSpecOrBuilder |
getTemplateOrBuilder()
Template describes the pods that will be created.
|
boolean |
hasMinReadySeconds()
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.
|
boolean |
hasPaused()
Indicates that the deployment is paused and will not be processed by the
deployment controller.
|
boolean |
hasProgressDeadlineSeconds()
The maximum time in seconds for a deployment to make progress before it
is considered to be failed.
|
boolean |
hasReplicas()
Number of desired pods.
|
boolean |
hasRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback.
|
boolean |
hasRollbackTo()
DEPRECATED.
|
boolean |
hasSelector()
Label selector for pods.
|
boolean |
hasStrategy()
The deployment strategy to use to replace existing pods with new ones.
|
boolean |
hasTemplate()
Template describes the pods that will be created.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasReplicas()
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 replicas = 1;int getReplicas()
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 replicas = 1;boolean hasSelector()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;Meta.LabelSelector getSelector()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;boolean hasTemplate()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;V1.PodTemplateSpec getTemplate()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()
Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;boolean hasStrategy()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.extensions.v1beta1.DeploymentStrategy strategy = 4;V1beta1Extensions.DeploymentStrategy getStrategy()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.extensions.v1beta1.DeploymentStrategy strategy = 4;V1beta1Extensions.DeploymentStrategyOrBuilder getStrategyOrBuilder()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.extensions.v1beta1.DeploymentStrategy strategy = 4;boolean hasMinReadySeconds()
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
optional int32 minReadySeconds = 5;int 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) +optional
optional int32 minReadySeconds = 5;boolean hasRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". +optional
optional int32 revisionHistoryLimit = 6;int getRevisionHistoryLimit()
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". +optional
optional int32 revisionHistoryLimit = 6;boolean hasPaused()
Indicates that the deployment is paused and will not be processed by the deployment controller. +optional
optional bool paused = 7;boolean getPaused()
Indicates that the deployment is paused and will not be processed by the deployment controller. +optional
optional bool paused = 7;boolean hasRollbackTo()
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.extensions.v1beta1.RollbackConfig rollbackTo = 8;V1beta1Extensions.RollbackConfig getRollbackTo()
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.extensions.v1beta1.RollbackConfig rollbackTo = 8;V1beta1Extensions.RollbackConfigOrBuilder getRollbackToOrBuilder()
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.extensions.v1beta1.RollbackConfig rollbackTo = 8;boolean hasProgressDeadlineSeconds()
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. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline". +optional
optional int32 progressDeadlineSeconds = 9;int 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. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline". +optional
optional int32 progressDeadlineSeconds = 9;Copyright © 2020. All rights reserved.