UNPKG

@jkcfg/kubernetes

Version:
30 lines 1.21 kB
{ "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", "required": [ "type" ], "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", "type": "integer", "format": "int32" }, "averageValue": { "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, "type": { "description": "type represents whether the metric type is Utilization, Value, or AverageValue", "type": [ "string", "null" ] }, "value": { "description": "value 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" }