forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexternalmetricsource-autoscaling-v2beta1.json
29 lines (29 loc) · 1.28 KB
/
externalmetricsource-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
27
28
29
{
"description": "ExternalMetricSource 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.",
"required": [
"metricName"
],
"properties": {
"metricName": {
"description": "metricName is the name of the metric in question.",
"type": [
"string",
"null"
]
},
"metricSelector": {
"description": "metricSelector is used to identify a specific time series within a given metric.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
},
"targetAverageValue": {
"description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"targetValue": {
"description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}