Skip to content

Commit

Permalink
Upgrade built-tools Prometheus and Grafana (#2618)
Browse files Browse the repository at this point in the history
The old versions of Grafana where using K8s beta apis, so now would no
longer install, so figured I would update both to the current latest.
  • Loading branch information
markmandel committed Jun 9, 2022
1 parent 4cf2f91 commit a7a9097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ setup-prometheus: SCRAPE_INTERVAL=30s
setup-prometheus:
$(DOCKER_RUN) helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
$(DOCKER_RUN) helm repo update
$(DOCKER_RUN) helm upgrade prom prometheus-community/prometheus --install --wait --version 11.16.2 \
$(DOCKER_RUN) helm upgrade prom prometheus-community/prometheus --install --wait --version 15.9.2 \
--namespace metrics --create-namespace \
--set server.global.scrape_interval=$(SCRAPE_INTERVAL),server.persistentVolume.enabled=$(PVC),server.persistentVolume.size=$(PV_SIZE) \
$(HELM_ARGS) -f $(mount_path)/build/prometheus.yaml
Expand All @@ -665,7 +665,7 @@ setup-grafana:
$(DOCKER_RUN) helm repo add grafana https://grafana.github.io/helm-charts
$(DOCKER_RUN) helm repo update
$(DOCKER_RUN) kubectl apply -f $(mount_path)/build/grafana/
$(DOCKER_RUN) helm upgrade grafana grafana/grafana --install --wait --version=5.7.10 \
$(DOCKER_RUN) helm upgrade grafana grafana/grafana --install --wait --version=6.29.6 \
--namespace metrics --create-namespace \
--set persistence.enabled=$(PVC),server.persistentVolume.size=$(PV_SIZE) \
--set adminPassword=$(PASSWORD) $(HELM_ARGS) -f $(mount_path)/build/grafana.yaml
Expand Down

0 comments on commit a7a9097

Please sign in to comment.