1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00
Files
prometheus-operator/helm/README.md
Moiz Virani 047de96d1a kube-prometheus: Making kubelets, kubescheduler, kube controller and kube state exporters optional (#1525)
* Helm: Improving readme instructions for testing helm chart locally

Adding note about where to run commands from and also breaking up large bash commands into multiple lines for simple copy paste.

* kube-prometheus: Making kubelets, kubescheduler, kube controller and kube state exporters optional

When running prometheus operator on hosted kuberenetes like GCE, few of the exporters are optional, so adding ability to conditional installations.

Fixes #1001, #355, #845

* Update Chart.yaml

* Update Chart.yaml
2018-06-28 01:41:27 +02:00

1.2 KiB

TL;DR

helm repo add coreos https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring
helm install coreos/kube-prometheus --name kube-prometheus --namespace monitoring

How to contribue?

  1. Fork the project
  2. Make the changes in the helm charts
  3. Bump the version in Chart.yaml for each modified chart
  4. Update kube-prometheus/requirements.yaml file with the dependencies
  5. Bump the kube-prometheus/Chart.yaml
  6. Test locally
  7. Push the changes

How to test?

# From top directory i.e. prometheus-operator
helm install helm/prometheus-operator --name prometheus-operator --namespace monitoring
mkdir -p helm/kube-prometheus/charts
helm package -d helm/kube-prometheus/charts helm/alertmanager helm/grafana helm/prometheus  helm/exporter-kube-dns \
helm/exporter-kube-scheduler helm/exporter-kubelets helm/exporter-node helm/exporter-kube-controller-manager \
helm/exporter-kube-etcd helm/exporter-kube-state helm/exporter-coredns helm/exporter-kubernetes
helm install helm/kube-prometheus --name kube-prometheus --namespace monitoring