Skip to content

Commit a7a9097

Browse files
authored
Upgrade built-tools Prometheus and Grafana (agones-dev#2618)
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.
1 parent 4cf2f91 commit a7a9097

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎build/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ setup-prometheus: SCRAPE_INTERVAL=30s
647647
setup-prometheus:
648648
$(DOCKER_RUN) helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
649649
$(DOCKER_RUN) helm repo update
650-
$(DOCKER_RUN) helm upgrade prom prometheus-community/prometheus --install --wait --version 11.16.2 \
650+
$(DOCKER_RUN) helm upgrade prom prometheus-community/prometheus --install --wait --version 15.9.2 \
651651
--namespace metrics --create-namespace \
652652
--set server.global.scrape_interval=$(SCRAPE_INTERVAL),server.persistentVolume.enabled=$(PVC),server.persistentVolume.size=$(PV_SIZE) \
653653
$(HELM_ARGS) -f $(mount_path)/build/prometheus.yaml
@@ -665,7 +665,7 @@ setup-grafana:
665665
$(DOCKER_RUN) helm repo add grafana https://grafana.github.io/helm-charts
666666
$(DOCKER_RUN) helm repo update
667667
$(DOCKER_RUN) kubectl apply -f $(mount_path)/build/grafana/
668-
$(DOCKER_RUN) helm upgrade grafana grafana/grafana --install --wait --version=5.7.10 \
668+
$(DOCKER_RUN) helm upgrade grafana grafana/grafana --install --wait --version=6.29.6 \
669669
--namespace metrics --create-namespace \
670670
--set persistence.enabled=$(PVC),server.persistentVolume.size=$(PV_SIZE) \
671671
--set adminPassword=$(PASSWORD) $(HELM_ARGS) -f $(mount_path)/build/grafana.yaml

0 commit comments

Comments
 (0)