mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-08 18:14:14 +00:00
.. | ||
alertmanager | ||
exporter-coredns | ||
exporter-kube-controller-manager | ||
exporter-kube-dns | ||
exporter-kube-etcd | ||
exporter-kube-scheduler | ||
exporter-kube-state | ||
exporter-kubelets | ||
exporter-kubernetes | ||
exporter-node | ||
grafana | ||
hack | ||
kube-prometheus | ||
prometheus | ||
prometheus-operator | ||
.gitignore | ||
README.md |
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?
- Fork the project
- Make the changes in the helm charts
- Bump the version in Chart.yaml for each modified chart
- Update kube-prometheus/requirements.yaml file with the dependencies
- Bump the kube-prometheus/Chart.yaml
- Test locally
- 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