A Helm upgrade error is occurring in our current pipeline.
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "<namespace>" namespace: "" from "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
However, we have already changed the apiVersion of hpa.yaml to autoscaling/v2 and the errors remains the same upon rerunning the pipeline.
The pipeline is currently deploying to a k8 cluster version 1.26
What should we do to resolve this issue?
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: resource mapping not found for name: "<namespace>" namespace: "" from "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
Did you solve this issue?
https://helm.sh/docs/topics/kubernetes_apis/#updating-api-versions-of-a-release-manifest
Followed this documentation, but still getting the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.