I am using gitlab version 6.3.3 installed on kubernetes. Unfortunately we keep upgrading the kubernetes version and now it is the 1.28 version. We could not upgrade gitlab.
Now we plan to upgrade gitlab to the latest version by following upgrade path. But facing big problem “HorizontalPodAutoscaler”.
When we see the apiVersion of hpa using “kubectl get” command, it shows autoscaling/v2 but when we get manifest it shows autoscaling/v2beta2.
helm get manifest gitlab -n gitlab --revision 8 > gitlab-manifest.yaml
We did everything but following error is not being resolved. Please helm accordingly.
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: [resource mapping not found for name: “gitlab-gitlab-shell” namespace: “gitlab” from “”: no matches for kind “HorizontalPodAutoscaler” in version “autoscaling/v2beta2”
ensure CRDs are installed first, resource mapping not found for name: “gitlab-kas” namespace: “gitlab” from “”: no matches for kind “HorizontalPodAutoscaler” in version “autoscaling/v2beta2”
ensure CRDs are installed first, resource mapping not found for name: “gitlab-sidekiq-all-in-1-v2” namespace: “gitlab” from “”: no matches for kind “HorizontalPodAutoscaler” in version “autoscaling/v2beta2”
ensure CRDs are installed first, resource mapping not found for name: “gitlab-webservice-default” namespace: “gitlab” from “”: no matches for kind “HorizontalPodAutoscaler” in version “autoscaling/v2beta2”
ensure CRDs are installed first]