Interface V1beta2Apps.DeploymentSpecOrBuilder

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

public static interface V1beta2Apps.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.
       It must match the pod template's labels.
       
      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.
       It must match the pod template's labels.
       
      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.
       It must match the pod template's labels.
       
      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.v1beta2.DeploymentStrategy strategy = 4;
    • 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;
    • 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;
    • 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 10.
       +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 10.
       +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;
    • 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 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 int32 progressDeadlineSeconds = 9;