ScaleStatus

case class ScaleStatus(replicas: Int, selector: Optional[String])

ScaleStatus represents the current status of a scale subresource.

ScaleStatus represents the current status of a scale subresource.

Value Params
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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product