You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to what we experienced running Out Of Cluster mode in Karpenter here, when trying to run leader election in OutOfCluster mode (i.e when we pass a kubeconfig file as a launch arg), the KEDA operator crashes on launch with
unable to find leader election namespace: not running in-cluster, please specify LeaderElectionNamespace
I believe for KEDA since we have kedautil.GetPodNamespace() already, we can add
Report
Similar to what we experienced running Out Of Cluster mode in Karpenter here, when trying to run leader election in OutOfCluster mode (i.e when we pass a kubeconfig file as a launch arg), the KEDA operator crashes on launch with
I believe for KEDA since we have
kedautil.GetPodNamespace()
already, we can addto the controller manager initializer .
Expected Behavior
When running in OutOfCluster mode with a passed in Kubeconfig, Leader Election should work.
Actual Behavior
KEDA crashes on launch with
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
None
Kubernetes Version
1.25
Platform
Amazon Web Services
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: