0

I want to install the kube-prometheus-stack (https://github.com/prometheus-operator/kube-prometheus) but exclude Grafana and Alertmanager from the helm install as I am installing them separately.

I would like to install only the following components:

  • Prometheus Operator
  • Prometheus
  • Prometheus node-exporter
  • Prometheus Adapter for Kubernetes Metrics APIs
  • kube-state-metrics

I tried to create a values.yaml file locally and install using helm chart but I am not successful doing so.

What's the best way to do this?

TIA.

markalex
  • 8,623
  • 2
  • 7
  • 32
skp15
  • 23
  • 6

1 Answers1

1

Those are subcharts(dependencies) in kube-prometheus-stack helm chart. usually all subcharts have something like this:

## subchartname:
##    enabled: true
grafana:
  enabled: false

and also You can check dependencies section in Chart.yaml file and see what is the condition key to enable/disable a dependency.

Links:

Yaser Kalali
  • 730
  • 1
  • 6
  • 1
    I actually created a `override.yaml` file and made `grafana` and `alertmanager` enabled: false. I passed this file while installing the chart. Worked fine! Thanks. – skp15 Apr 06 '23 at 23:19