package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

External_metric_source indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or Qps from loadbalancer running outside of cluster). Exactly one "target" type should be set.

type t
val to_yojson : t -> Yojson.Safe.t
val metric_name : t -> string

metric_name is the name of the metric in question.

metric_selector is used to identify a specific time series within a given metric.

target_average_value is the target per_pod value of global metric (as a quantity). Mutually exclusive with Target_value.

target_value is the target value of the metric (as a quantity). Mutually exclusive with Target_average_value.

module Object : Object.S with type value := t