UNPKG

@jkcfg/kubernetes

Version:
29 lines 1.33 kB
{ "$schema": "http://json-schema.org/schema#", "required": [ "metricName" ], "type": "object", "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", "properties": { "targetValue": { "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, "metricSelector": { "description": "metricSelector is used to identify a specific time series within a given metric.", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "targetAverageValue": { "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, "metricName": { "type": [ "string", "null" ], "description": "metricName is the name of the metric in question." } } }