case class ScaleStatus(replicas: Int, selector: Optional[String] = Optional.Absent) extends Product with Serializable
ScaleStatus represents the current status of a scale subresource.
- replicas
actual number of observed instances of the scaled object.
- selector
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
- Alphabetic
- By Inheritance
- ScaleStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ScaleStatus(replicas: Int, selector: Optional[String] = Optional.Absent)
- replicas
actual number of observed instances of the scaled object.
- selector
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
Value Members
-
def
getReplicas: IO[K8sFailure, Int]
actual number of observed instances of the scaled object.
actual number of observed instances of the scaled object.
This effect always succeeds, it is safe to use the field replicas directly.
-
def
getSelector: IO[K8sFailure, String]
label query over pods that should match the replicas count.
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val replicas: Int
- val selector: Optional[String]