Skip to content

autoscaling/v2beta2 deprecated in K8s 1.26 — frontend HPA incompatible with newer clusters versions #434

@afer4152

Description

@afer4152

We recently upgraded our EKS cluster from version 1.25 to 1.26, and noticed that the Litmus Helm chart (v3.13.0) and latest Helm chart (v3.16.0) still uses the deprecated API version autoscaling/v2beta2 for the HorizontalPodAutoscaler resource:

The Kubernetes API could not find version "v2beta2" of autoscaling/HorizontalPodAutoscaler for requested resource chaos/litmus-frontend. Version "v2" of autoscaling/HorizontalPodAutoscaler is installed on the destination cluster.

As of Kubernetes 1.26, the autoscaling/v2beta2 API version has been fully deprecated and replaced with the stable autoscaling/v2. This causes Helm/Argo CD sync failures when deploying the litmus-frontend component in modern clusters.

Affected Chart
Chart: litmus
Version: 3.13.0 (also present in latest 3.17.0)
templates: frontend-hpa.yaml

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