Skip to content

Deprecated API for HPA in higher versions of Kubernetes (1.26+) #1710

@Boniker

Description

@Boniker

Describe the bug

Deprecated API for the kind: HorizontalPodAutoscaler in a newer versions of Kubernetes.

Expected behavior

Change from autoscaling/v2beta2 на apiVersion: autoscaling/v2
The best way is to make it variable according to the needs of users.

Steps to reproduce

Using kubernetes version higher than 1.26

Steps to take

apiVersion: {{ .Values.hpa.apiVersion | default "autoscaling/v2beta2" }}
or if you want to make it extensible to a kubernetes cluster, you can make it with the helm Capabilities
.Capabilities.KubeVersion.Version

Your environment

  • Space Cloud version: latest
  • OS: macOS
  • Kubernetes or Docker: 1.27
  • Browser (if applicable): 121.0.6167.85

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