KEDA with Calico CNI: Working without hostNetwork:true? #6791
-
|
Hi everyone, I'm running KEDA v2.16.0 on an EKS cluster with Calico as the CNI provider, and I'm encountering the following error:
According to the KEDA troubleshooting documentation (https://keda.sh/troubleshooting/keda-external-metrics-issue), one solution is to set hostNetwork: true in the metrics-apiserver deployment. However, our cluster enforces Pod Security Policies that prohibit using hostNetwork. My question: I've tried:
But I'm still getting the "Address is not allowed" error. Has anyone successfully run KEDA with Calico without using hostNetwork? Any configuration examples or workarounds would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If your using Calico CNI on EKS, |
Beta Was this translation helpful? Give feedback.
If your using Calico CNI on EKS,
you have to make hostNetwork: true for metrics apiserver,
and also dnspolicy policy should be ClusterFirstWithHostNet
and make sure to open SG Rules for 6443