Skip to content

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

@roynilanjan

Description

@roynilanjan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions