forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetrictarget.json
33 lines (33 loc) · 1.37 KB
/
metrictarget.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
31
32
33
{
"description": "MetricTarget defines the target value, average value, or average utilization of a specific metric",
"properties": {
"averageUtilization": {
"description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type",
"format": "int32",
"type": [
"integer",
"null"
]
},
"averageValue": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.15/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
"description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"
},
"type": {
"description": "type represents whether the metric type is Utilization, Value, or AverageValue",
"type": [
"string",
"null"
]
},
"value": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.15/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
"description": "value is the target value of the metric (as a quantity)."
}
},
"required": [
"type"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}