cloudfoundry / cf-for-k8s

The open source deployment manifest for Cloud Foundry on Kubernetes
Apache License 2.0
300 stars 115 forks source link

Prometheus access from another namespace #576

Closed braunsonm closed 3 years ago

braunsonm commented 3 years ago

Describe the bug

After reading through the docs found here: https://github.com/cloudfoundry/cf-for-k8s/blob/develop/docs/platform_operators/networking/networking-metrics-and-monitoring.md

I was hoping to see simple prometheus integration. However it seems that the prometheus community helm chart is unable to access any CF pods. Probably due to network policies. is there any documentation on how it is suggested to allow metrics to scrape those pods?

To Reproduce*

Steps to reproduce the behavior:

  1. Deploy the helm community prometheus chart
  2. Notice scraping errors to only CF Pods (timeouts)

Expected behavior

Prometheus should be able to scrape CF pods.

Cluster information

AKS

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175767272

The labels on this github issue will be updated when the story is started.

braunsonm commented 3 years ago

Found these docs!