Upgrading Helm and Overriding Unsupported Autoscaling Version

TLDR Vishnu encountered an error upgrading helm due to an unsupported autoscaling version. Srikanth suggested using override-values.yaml to change it.

Photo of Vishnu
Thu, 22 Jun 2023 11:23:03 UTC

Hi Team, Getting the following error while trying to upgrade helm ```Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "my-release-signoz-frontend" namespace: "platform" from "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2" ensure CRDs are installed first``` Current K8s version is 1.26. I see that autoscaling/v2beta2 is not supported in 1.26, but how can i override this.

Photo of Srikanth
Thu, 22 Jun 2023 12:20:54 UTC

See this . You should be able to change this with override-values.yaml

Photo of Vishnu
Fri, 23 Jun 2023 09:16:14 UTC

Thanks Srikanth, will try this and check