Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deploying the demo app in HPA with Custom Metrics in Kubernetes #51

Open
roynilanjan opened this issue Apr 26, 2023 · 0 comments
Open

Comments

@roynilanjan
Copy link

Hello
I tried implementing this tutorial https://github.com/pixie-io/pixie-demos/tree/main/custom-k8s-metrics-demo .
While deploying the test application with kubectl apply -f demo-app.yaml i get the following error :
Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
deployment.apps/echo-service unchanged
service/echo-service unchanged
Error from server (BadRequest): error when creating "demo-app.yaml": HorizontalPodAutoscaler in version "v2beta2" cannot be handled as a HorizontalPodAutoscaler: json: cannot unmarshal string into Go struct field HPAScalingPolicy.spec.behavior.scaleDown.policies.value of type int32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant