Keda in GKE Autopilot can't connect to Metric Server #4480
-
Hi! I've installed Keda 2.10.2 via Helm in a GKE Autopilot 1.25.7 and v1beta1.external.metrics.k8s.io status is False (FailedDiscoveryCheck). Health details shows:
First troubleshooting topic in the docs is exactly "Kubernetes Control plane is unable to communicate to Metric server?" and suggests a problem in clusters with CNI like Cilium, which is the case here. But the proposed solution is to enable hostNetwork, which is not allowed in the autopilot due to hostPort restrictions. Does anyone have a GKE autopilot running Keda? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I suspect a network firewall issue. |
Beta Was this translation helpful? Give feedback.
-
We ended up choosing their Managed Prometheus solution but we faced the same problem and the solution was in fact to open up port 6443 in firewall, which is documented in their guide. Maybe the Keda Troubleshooting page could drop a line about it. |
Beta Was this translation helpful? Give feedback.
You have to allow the control plane IP network to access to node tag on port 6443