@jkcfg/kubernetes
Version:
jk Kubernetes library
22 lines • 823 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.",
"required": [
"metricName",
"targetAverageValue"
],
"properties": {
"metricName": {
"description": "metricName is the name of the metric in question",
"type": [
"string",
"null"
]
},
"targetAverageValue": {
"description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}