case class DeploymentSpec(minReadySeconds: Optional[Int] = Optional.Absent, paused: Optional[Boolean] = Optional.Absent, progressDeadlineSeconds: Optional[Int] = Optional.Absent, replicas: Optional[Int] = Optional.Absent, revisionHistoryLimit: Optional[Int] = Optional.Absent, selector: LabelSelector, strategy: Optional[DeploymentStrategy] = Optional.Absent, template: PodTemplateSpec) extends Product with Serializable

DeploymentSpec is the specification of the desired behavior of the Deployment.

minReadySeconds

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)

paused

Indicates that the deployment is paused.

progressDeadlineSeconds

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.

replicas

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

revisionHistoryLimit

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeploymentSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeploymentSpec(minReadySeconds: Optional[Int] = Optional.Absent, paused: Optional[Boolean] = Optional.Absent, progressDeadlineSeconds: Optional[Int] = Optional.Absent, replicas: Optional[Int] = Optional.Absent, revisionHistoryLimit: Optional[Int] = Optional.Absent, selector: LabelSelector, strategy: Optional[DeploymentStrategy] = Optional.Absent, template: PodTemplateSpec)

    minReadySeconds

    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)

    paused

    Indicates that the deployment is paused.

    progressDeadlineSeconds

    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.

    replicas

    Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

    revisionHistoryLimit

    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.

Value Members

  1. def getMinReadySeconds: IO[K8sFailure, Int]

    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.

    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)

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  2. def getPaused: IO[K8sFailure, Boolean]

    Indicates that the deployment is paused.

    Indicates that the deployment is paused.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. def getProgressDeadlineSeconds: IO[K8sFailure, Int]

    The maximum time in seconds for a deployment to make progress before it is considered to be failed.

    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.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  4. def getReplicas: IO[K8sFailure, Int]

    Number of desired pods.

    Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  5. def getRevisionHistoryLimit: IO[K8sFailure, Int]

    The number of old ReplicaSets to retain to allow rollback.

    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.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  6. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

    This effect always succeeds, it is safe to use the field selector directly.

  7. def getStrategy: IO[K8sFailure, DeploymentStrategy]

    Gets strategy.

    Gets strategy.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  8. def getTemplate: IO[K8sFailure, PodTemplateSpec]

    Gets template.

    Gets template.

    This effect always succeeds, it is safe to use the field template directly.

  9. val minReadySeconds: Optional[Int]
  10. val paused: Optional[Boolean]
  11. val progressDeadlineSeconds: Optional[Int]
  12. val replicas: Optional[Int]
  13. val revisionHistoryLimit: Optional[Int]
  14. val selector: LabelSelector
  15. val strategy: Optional[DeploymentStrategy]
  16. val template: PodTemplateSpec