forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpodsmetricstatus-autoscaling-v2beta1.json
26 lines (26 loc) · 1.24 KB
/
podsmetricstatus-autoscaling-v2beta1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).",
"required": [
"metricName",
"currentAverageValue"
],
"properties": {
"currentAverageValue": {
"description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"metricName": {
"description": "metricName is the name of the metric in question",
"type": [
"string",
"null"
]
},
"selector": {
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}