Skip to content

Adapt config to support Prometheus 2.1

What does this MR do?

Updates the desired Prometheus configuration so it works with Prometheus 2.1. The current Prometheus deployment integration does not pin the Helm chart version, so when this was originally developed 1.8 was being deployed, and now 2.1 is.

The core issue was the use of YAML |- generating errors. Removing that based on the sample Helm chart worked.

Also took the opportunity to:

  • Remove extraneous configuration, and fix some spacing.
  • Pin the Prometheus image version to v2.1.0
  • Enables kube-state-metrics which is required for cluster monitoring which we are delivering in %10.6.
  • Adds service scraping which is required for monitoring kube-state-metrics

Closes #42496 (closed), #42498 (closed)

Edited by Joshua Lambert

Merge request reports

Loading