GG
Size: a a a
GG
AS
VR
I0408 15:24:38.723398 1 event.go:278] Event(v1.ObjectReference{Kind:"HorizontalPodAutoscaler", Namespace:"app", Name:"be", UID:"ab35acbf-5744-4250-8002-687d7d2faccb", APIVersion:"autoscaling/v2beta2", ResourceVersion:"30622418", FieldPath:""}): type: 'Warning' reason: 'FailedComputeMetricsReplicas' invalid metrics (1 invalid out of 1), first error is: failed to get cpu utilization: unable to get metrics for resource cpu: unable to fetch metrics from resource metrics API: the server could not find the requested resource (get pods.metrics.k8s.io)
GG
VR
GG
GG
GG
VR
kubectl get --raw /apis/ | python3 -m json.tool | grep -E 'metr|scal'
"name": "autoscaling",
"groupVersion": "autoscaling/v1",
"groupVersion": "autoscaling/v2beta1",
"groupVersion": "autoscaling/v2beta2",
"groupVersion": "autoscaling/v1",
VR
kubectl api-resources | grep -E 'metr|scal'
horizontalpodautoscalers hpa autoscaling/v1 true HorizontalPodAutoscaler
GG
GG
GG
VR
GG
GG
GG
L
GG
MM