You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ ~ kubectl version
Client Version: v1.28.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.22.5
WARNING: version difference between client (1.28) and server (1.22) exceeds the supported minor version skew of +/-1
When I set app.kubernetes.io/version: 2.8.2, I checked the kube-state-metrics logs and encountered the error message "pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:229: failed to list v2.HorizontalPodAutoscaler: the server could not find the requested resource".
Currently, the resource version I am using is as follows:
➜ kube-state-metrics git:(main) ✗ kubectl api-resources | grep autoscaling
horizontalpodautoscalers hpa autoscaling/v1 true HorizontalPodAutoscaler
What should I do? Please advise on kube-state-metrics and whether I need to upgrade HPA.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
➜ ~ kubectl version
Client Version: v1.28.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.22.5
WARNING: version difference between client (1.28) and server (1.22) exceeds the supported minor version skew of +/-1
When I set
app.kubernetes.io/version: 2.8.2
, I checked the kube-state-metrics logs and encountered the error message "pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:229: failed to list v2.HorizontalPodAutoscaler: the server could not find the requested resource".Currently, the resource version I am using is as follows:
➜ kube-state-metrics git:(main) ✗ kubectl api-resources | grep autoscaling
horizontalpodautoscalers hpa autoscaling/v1 true HorizontalPodAutoscaler
What should I do? Please advise on kube-state-metrics and whether I need to upgrade HPA.
Beta Was this translation helpful? Give feedback.
All reactions