OS
Schema Hub

MetricValueStatus

MetricValueStatus holds the current value for a metric

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/MetricValueStatus_v2.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/autoscaling.api.k8s.io/MetricValueStatus_v2.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

averageUtilizationinteger
currentAverageUtilization is the current 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.
averageValueobject
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
valueobject
value is the current value of the metric (as a quantity).