Interface V1beta1Extensions.DeploymentSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta1Extensions.DeploymentSpec, V1beta1Extensions.DeploymentSpec.Builder
Enclosing class:
V1beta1Extensions

public static interface V1beta1Extensions.DeploymentSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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.extensions.v1beta1.DeploymentStrategy strategy = 4;
    • 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;
    • 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;
    • 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.
       This is set to the max value of int32 (i.e. 2147483647) by default, which
       means "retaining all old ReplicaSets".
       +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.
       This is set to the max value of int32 (i.e. 2147483647) by default, which
       means "retaining all old ReplicaSets".
       +optional
       
      optional int32 revisionHistoryLimit = 6;
    • hasPaused

      boolean hasPaused()
       Indicates that the deployment is paused and will not be processed by the
       deployment controller.
       +optional
       
      optional bool paused = 7;
    • getPaused

      boolean getPaused()
       Indicates that the deployment is paused and will not be processed by the
       deployment controller.
       +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.extensions.v1beta1.RollbackConfig rollbackTo = 8;
    • 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;
    • 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;
    • 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. This is set to
       the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
       +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. This is set to
       the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
       +optional
       
      optional int32 progressDeadlineSeconds = 9;