upgrade failing due to condition of autoscaling (HPA & keda) #13142
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
Hi , i am trying to upgrade from Controller version 1.9.6 (Helm 4.9.1) to v1.11.5 (Helm 4.11.5) using argo but it is failing due to the following comparison error:-
failed exit status 1: Error: template: ingress-nginx/templates/controller-deployment.yaml:21:9: executing "ingress-nginx/templates/controller-deployment.yaml" at <eq .Values.controller.autoscaling.enabled .Values.controller.keda.enabled>: error calling eq: incompatible types for comparison
We have autoscaling enabled, this is our values yaml:-
What you expected to happen:
Looks like comparison is failing between HPA and keda autoscaling
NGINX Ingress controller version (exec into the pod and run
/nginx-ingress-controller --version
): 1.9.6 to 1.11.5/1.12.1Kubernetes version (use
kubectl version
): 1.30.8Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Install tools:
Please mention how/where was the cluster created like kubeadm/kops/minikube/kind etc.
Basic cluster related info:
kubectl version
kubectl get nodes -o wide
How was the ingress-nginx-controller installed:
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamespace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> get all -A -o wide
kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
Current state of ingress object, if applicable:
kubectl -n <appnamespace> get all,ing -o wide
kubectl -n <appnamespace> describe ing <ingressname>
Others:
kubectl describe ...
of any custom configmap(s) created and in useHow to reproduce this issue:
I tried to upgrade to 1.11.5 and 1.12.1 both fails. i even tried disabling the autoscaling, still fails.
Anything else we need to know:
Kindly Let me know if further info is required.
The text was updated successfully, but these errors were encountered: