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. |
|
I have KEDA in the cluster. I installed it for test and I created ScaledObjects only in one namespace - |
|
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)
|
|
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) |
|
I faced the same issue in version 2.14.1 when i deleted the both then the namespace got deleted. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
Namespaces should delete successfully
Actual Behavior
Namespaces stuck in
TerminatingstateSteps 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-testnamespaceOf course I can delete them via
kubectl patchbut that is not a solution.There are errors in keda pod:
All reactions