public static interface V1beta2Apps.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.
|
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.
|
Meta.LabelSelector |
getSelector()
Label selector for pods.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
Label selector for pods.
|
V1beta2Apps.DeploymentStrategy |
getStrategy()
The deployment strategy to use to replace existing pods with new ones.
|
V1beta2Apps.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.
|
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 |
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, hasOneof
boolean 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. It must match the pod template's labels.
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. It must match the pod template's labels.
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. It must match the pod template's labels.
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.apps.v1beta2.DeploymentStrategy strategy = 4;
V1beta2Apps.DeploymentStrategy getStrategy()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta2.DeploymentStrategy strategy = 4;
V1beta2Apps.DeploymentStrategyOrBuilder getStrategyOrBuilder()
The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta2.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. Defaults to 10. +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. Defaults to 10. +optional
optional int32 revisionHistoryLimit = 6;
boolean hasPaused()
Indicates that the deployment is paused. +optional
optional bool paused = 7;
boolean getPaused()
Indicates that the deployment is paused. +optional
optional bool paused = 7;
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. Defaults to 600s.
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. Defaults to 600s.
optional int32 progressDeadlineSeconds = 9;
Copyright © 2021. All rights reserved.