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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

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

  14. def getStrategy: IO[K8sFailure, DeploymentStrategy]

    Gets strategy.

    Gets strategy.

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

  15. def getTemplate: IO[K8sFailure, PodTemplateSpec]

    Gets template.

    Gets template.

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

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val minReadySeconds: Optional[Int]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val paused: Optional[Boolean]
  22. val progressDeadlineSeconds: Optional[Int]
  23. val replicas: Optional[Int]
  24. val revisionHistoryLimit: Optional[Int]
  25. val selector: LabelSelector
  26. val strategy: Optional[DeploymentStrategy]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val template: PodTemplateSpec
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped