Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to configure kubernetes_sd_configs to discover services in a different cluster #5360
Comments
This comment has been minimized.
This comment has been minimized.
|
From the documentation of
To discover targets from another Kubernetes cluster, you need to pass the I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Mar 15, 2019
This comment has been minimized.
This comment has been minimized.
|
thank you a lot simonpasquier! am gonna try this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ahmed282828 commentedMar 14, 2019
I created a job in prometheus with kubernetes_sd_configs to discover services automatically without the need to declare them manually(Cadvisor, nodeexporter, KubeStateMetrics). i am using helm chart for prometheus. i tried this job and it can only discover the services in the cluster itself(same cluster with prometheus server installed) but not the other clusters
this is the job that i created. in prometheus the $1 takes the names of the old cluster and the error displayed is server returned HTTP status 401 Unauthorized
anybody has an idea about this ? i really need your help guys am really struggling with this and i didnt find a solution