@jkcfg/kubernetes
Version:
jk Kubernetes library
23 lines • 850 B
JSON
{
"description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).",
"required": [
"describedObject",
"target",
"metric"
],
"properties": {
"describedObject": {
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference"
},
"metric": {
"description": "metric identifies the target metric by name and selector",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier"
},
"target": {
"description": "target specifies the target value for the given metric",
"$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}