Kube-prometheus Helm Chart

Kube-prometheus
Analyzed version: 6.9.7

By Bitnami

Prometheus Operator provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances.

Prometheus, a CNCF project, is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.

This chart bootstraps a Prometheus deployment on a Kubernetes cluster using the Helm package manager.

Latest version: 15.5.3
View GitHub

How to Install the Kube-prometheus Helm Chart

Add Chart Repository to Helm

helm repo add bitnami https://charts.bitnami.com/bitnami

Install Chart

helm install my-kube-prometheus bitnami/kube-prometheus --version 6.9.7

Does the Kube-prometheus chart contain security gaps?

The chart meets the best practices recommended by the industry.

The chart contains 6 misconfigurations.

The chart meets the best practices recommended by the industry. Find the full list of best practices here.

❌ Prevent workload from using the default namespace

4 occurrences:

  • metadata.name: release-name-node-exporter (kind: DaemonSet)
  • metadata.name: release-name-kube-state-metrics (kind: Deployment)
  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: Deployment)
  • metadata.name: release-name-kube-promethe-operator (kind: Deployment)

💡 Incorrect value for key `namespace` - use an explicit namespace instead of the default one (`default`)

Learn how to fix the issue here

❌ Prevent ConfigMap security vulnerability (CVE-2021-25742)

2 occurrences:

  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: ConfigMap)
  • metadata.name: release-name-kube-promethe-operator (kind: ConfigMap)

💡 Missing property object `allow-snippet-annotations` - set it to "false" to override default behaviour

Learn how to fix the issue here

❌ Ensure each container has a configured memory request

4 occurrences:

  • metadata.name: release-name-node-exporter (kind: DaemonSet)
  • metadata.name: release-name-kube-state-metrics (kind: Deployment)
  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: Deployment)
  • metadata.name: release-name-kube-promethe-operator (kind: Deployment)

💡 Missing property object `requests.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure each container has a configured CPU request

4 occurrences:

  • metadata.name: release-name-node-exporter (kind: DaemonSet)
  • metadata.name: release-name-kube-state-metrics (kind: Deployment)
  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: Deployment)
  • metadata.name: release-name-kube-promethe-operator (kind: Deployment)

💡 Missing property object `requests.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure each container has a configured memory limit

4 occurrences:

  • metadata.name: release-name-node-exporter (kind: DaemonSet)
  • metadata.name: release-name-kube-state-metrics (kind: Deployment)
  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: Deployment)
  • metadata.name: release-name-kube-promethe-operator (kind: Deployment)

💡 Missing property object `limits.memory` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

❌ Ensure each container has a configured CPU limit

4 occurrences:

  • metadata.name: release-name-node-exporter (kind: DaemonSet)
  • metadata.name: release-name-kube-state-metrics (kind: Deployment)
  • metadata.name: release-name-kube-promethe-blackbox-exporter (kind: Deployment)
  • metadata.name: release-name-kube-promethe-operator (kind: Deployment)

💡 Missing property object `limits.cpu` - value should be within the accepted boundaries recommended by the organization

Learn how to fix the issue here

This is some text inside of a div block.
This is some text inside of a div block.

Reveal misconfigurations within minutes

3 Quick Steps to Get Started