Namespaces stuck in Terminating state #2122
Replies: 5 comments 1 reply
-
What KEDA related objects are in those namespaces? If KEDA is still installed on the cluster and you remove ScaledObjects from the cluster, KEDA will remove finalizers on those objects and there should be any problem with deleting the namespaces. |
Beta Was this translation helpful? Give feedback.
-
I have KEDA in the cluster. I installed it for test and I created ScaledObjects only in one namespace - |
Beta Was this translation helpful? Give feedback.
-
I've stumbled upon a similar issue when trying to delete KEDA. In my case it was caused by leftover
Issue is similar to: prometheus-operator/kube-prometheus#275 (comment)
|
Beta Was this translation helpful? Give feedback.
-
I ran into this issue on gke as well. If you're running a VPC native cluster you'll need to add a firewall rule to allow the masters to talk with keda's apiservice (port 6443 by default) |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue in version 2.14.1
when i deleted the both then the namespace got deleted. |
Beta Was this translation helpful? Give feedback.
-
Expected Behavior
Namespaces should delete successfully
Actual Behavior
Namespaces stuck in
Terminating
stateSteps to Reproduce the Problem
Specifications
KEDA Version: 2.0.0-rc
Platform & Version: GKE
Kubernetes Version: 1.17.9-gke.1504
Scaler(s): prometheus
Addons: certmanager, argocd, nginx-ingress
I installed Keda yesterday to staging cluster and it cause problems with namespaces - they stuck in Terminating state
ScaledObjects defined only in
review-keda-test
namespaceOf course I can delete them via
kubectl patch
but that is not a solution.There are errors in keda pod:
Beta Was this translation helpful? Give feedback.
All reactions