@jkcfg/kubernetes
Version:
jk Kubernetes library
19 lines • 781 B
JSON
{
"description": "PodsMetricSource 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.",
"properties": {
"metric": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
},
"target": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
"required": [
"metric",
"target"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}