UNPKG

@jkcfg/kubernetes

Version:
27 lines 882 B
{ "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "required": [ "target", "metricName", "targetValue" ], "properties": { "metricName": { "description": "metricName is the name of the metric in question.", "type": [ "string", "null" ] }, "target": { "description": "target is the described Kubernetes object.", "$ref": "_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference" }, "targetValue": { "description": "targetValue is the target value of the metric (as a quantity).", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "$schema": "http://json-schema.org/schema#", "type": "object" }