Package io.kubernetes.client.proto
Interface V1beta1Apps.DeploymentSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta1Apps.DeploymentSpec
,V1beta1Apps.DeploymentSpec.Builder
- Enclosing class:
- V1beta1Apps
public static interface V1beta1Apps.DeploymentSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
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
Indicates that the deployment is paused.int
The maximum time in seconds for a deployment to make progress before it is considered to be failed.int
Number of desired pods.int
The number of old ReplicaSets to retain to allow rollback.DEPRECATED.DEPRECATED.Label selector for pods.Label selector for pods.The deployment strategy to use to replace existing pods with new ones.The deployment strategy to use to replace existing pods with new ones.Template describes the pods that will be created.Template describes the pods that will be created.boolean
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
Indicates that the deployment is paused.boolean
The maximum time in seconds for a deployment to make progress before it is considered to be failed.boolean
Number of desired pods.boolean
The number of old ReplicaSets to retain to allow rollback.boolean
DEPRECATED.boolean
Label selector for pods.boolean
The deployment strategy to use to replace existing pods with new ones.boolean
Template describes the pods that will be created.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasReplicas
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;
-
getReplicas
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;
-
hasSelector
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;
-
getSelector
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;
-
getSelectorOrBuilder
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;
-
hasTemplate
boolean hasTemplate()Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplate
V1.PodTemplateSpec getTemplate()Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
getTemplateOrBuilder
V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()Template describes the pods that will be created.
optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
-
hasStrategy
boolean hasStrategy()The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta1.DeploymentStrategy strategy = 4;
-
getStrategy
V1beta1Apps.DeploymentStrategy getStrategy()The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta1.DeploymentStrategy strategy = 4;
-
getStrategyOrBuilder
V1beta1Apps.DeploymentStrategyOrBuilder getStrategyOrBuilder()The deployment strategy to use to replace existing pods with new ones. +optional +patchStrategy=retainKeys
optional .k8s.io.api.apps.v1beta1.DeploymentStrategy strategy = 4;
-
hasMinReadySeconds
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;
-
getMinReadySeconds
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;
-
hasRevisionHistoryLimit
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 2. +optional
optional int32 revisionHistoryLimit = 6;
-
getRevisionHistoryLimit
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 2. +optional
optional int32 revisionHistoryLimit = 6;
-
hasPaused
boolean hasPaused()Indicates that the deployment is paused. +optional
optional bool paused = 7;
-
getPaused
boolean getPaused()Indicates that the deployment is paused. +optional
optional bool paused = 7;
-
hasRollbackTo
boolean hasRollbackTo()DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 8;
-
getRollbackTo
V1beta1Apps.RollbackConfig getRollbackTo()DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 8;
-
getRollbackToOrBuilder
V1beta1Apps.RollbackConfigOrBuilder getRollbackToOrBuilder()DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. +optional
optional .k8s.io.api.apps.v1beta1.RollbackConfig rollbackTo = 8;
-
hasProgressDeadlineSeconds
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
optional int32 progressDeadlineSeconds = 9;
-
getProgressDeadlineSeconds
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
optional int32 progressDeadlineSeconds = 9;
-