package kubecaml

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

Pods_metric_source indicates how to scale on a metric describing each pod in the current scale target (for example, transactions_processed_per_second). The values will be averaged together before being compared to the target value.

type t
val to_yojson : t -> Yojson.Safe.t
val make : target_average_value: Kubernetes.Definitions.Apimachinery.Pkg.Api.Resource.Quantity.t -> metric_name:string -> unit -> t
val metric_name : t -> string

metric_name is the name of the metric in question

target_average_value is the target value of the average of the metric across all relevant pods (as a quantity)

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

Innovation. Community. Security.