forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexternalmetricstatus-autoscaling-v2beta1.json
30 lines (30 loc) · 1.23 KB
/
externalmetricstatus-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
30
{
"description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.",
"required": [
"metricName",
"currentValue"
],
"properties": {
"currentAverageValue": {
"description": "currentAverageValue is the current value of metric averaged over autoscaled pods.",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"currentValue": {
"description": "currentValue is the current value of the metric (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 a metric used for autoscaling in metric system.",
"type": [
"string",
"null"
]
},
"metricSelector": {
"description": "metricSelector is used to identify a specific time series within a given metric.",
"$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"
}