Skip to content

prometheus-adapter not working in GKE #749

Answered by kehao95
kehao95 asked this question in Q&A
Discussion options

You must be logged in to vote

Answer my own question here:

It's stupid simple for the root cause. But was hard to find it until i tired to install another API server and encountered the similar issue: Everything looks good but apiservices failed to pass check.

It turns out that it was just a firewall issue. And it has been mentioned in GKE Doc.
https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#add_firewall_rules

By default, firewall rules restrict your cluster control plane to only initiate TCP connections to your nodes on ports 443 (HTTPS) and 10250 (kubelet).
For some Kubernetes features, you might need to add firewall rules to allow access on additional ports.
Kubernetes features that require…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by paulfantom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants