case class ReplicaSetSpec(minReadySeconds: Optional[Int] = Optional.Absent, replicas: Optional[Int] = Optional.Absent, selector: LabelSelector, template: Optional[PodTemplateSpec] = Optional.Absent) extends Product with Serializable

ReplicaSetSpec is the specification of a ReplicaSet.

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)

replicas

Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicaSetSpec
  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 ReplicaSetSpec(minReadySeconds: Optional[Int] = Optional.Absent, replicas: Optional[Int] = Optional.Absent, selector: LabelSelector, template: Optional[PodTemplateSpec] = Optional.Absent)

    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)

    replicas

    Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

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 getReplicas: IO[K8sFailure, Int]

    Replicas is the number of desired replicas.

    Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

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

  3. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

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

  4. def getTemplate: IO[K8sFailure, PodTemplateSpec]

    Gets template.

    Gets template.

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

  5. val minReadySeconds: Optional[Int]
  6. val replicas: Optional[Int]
  7. val selector: LabelSelector
  8. val template: Optional[PodTemplateSpec]