Configuring Prometheus to Use Service Discovery
Recently, your team has deployed Prometheus to the companies Kubernetes cluster. Now it is time to use service discovery to find targets for cAdvisor and the Kubernetes API. You have been tasked with modifying the Prometheus Config Map that is used to create the
prometheus.yml file. Create the scrape config and add the jobs for
kubernetes-cadvisor. Then, propagate the changes to the Prometheus pod.