forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathobjectmetricstatus.json
23 lines (23 loc) · 986 Bytes
/
objectmetricstatus.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).",
"required": [
"metric",
"current",
"describedObject"
],
"properties": {
"current": {
"description": "current contains the current value for the given metric",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus"
},
"describedObject": {
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"
},
"metric": {
"description": "metric identifies the target metric by name and selector",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}