Thanks Stuart, Will check it out and get back to you Regards Sakthi
On Fri, 18 Dec 2020 at 4:20 PM, Stuart Clark <[email protected]> wrote: > On 18/12/2020 06:03, Sakthi Raam wrote: > > Hi All, > > > > We have restrictions to deploy Prometheus inside Kubernetes > > environment due to shared infrastructure but we still need to scrape > > all the node/services/endpoints/pod level metrics using service > > discovery approach. When I checked almost all the posts in internet > > are referring to Prometheus inside the cluster or deployed as > > Prometheus operator. > > > > If you have any reference links, examples or approach to achieve the > > above mentioned use case please do share it. > > > Are you meaning that you want to host Prometheus outside of the cluster, > but monitor resources within it? > > If so, that's perfectly possible. You will need to set the api_server > value in the Kubernetes SD as well as providing the correct > authentication details (and arrange for those on the cluster side) > > > https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config > > -- *Best regards* R.K.Sakthi Raam ***: [email protected] *'*: +65-9185-0354 [image: Linkedin] <https://sg.linkedin.com/in/sakthi-raam-88035920> -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAObO1gUYyk%2Bwn1cGe_miCp-Tbd1o-%3DgqedE%3D4nr_Vv3wK-OizA%40mail.gmail.com.

