Skip to content

Commit

Permalink
Pinned grafana version, updated memory requests and limits for thanos…
Browse files Browse the repository at this point in the history
… storagegateway new version of the stack uses more memory
  • Loading branch information
juddin927 committed May 29, 2024
1 parent 96aaca3 commit 4382488
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Binary file added .thanos-storagegateway-o-pod.yaml.swp
Binary file not shown.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ lock: ## terraform providers lock (reset hashes after upgrades prior to commit)
rm .terraform.lock.hcl
$(DOCKER_RUN) terraform providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=linux_amd64
.PHONY: unlock
unlock: ## terraform unlock e.g. (make unlock IMPORT_ARGUMENT=LOCK_ID)
$(DOCKER_RUN) terraform force-unlock $$IMPORT_ARGUMENT
.PHONY: clean
clean: ## clean terraform cached providers etc
rm -rf .terraform/ terraform.tfstate* .env .env.tmp
Expand Down
5 changes: 5 additions & 0 deletions k8s-values/values.thanos-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ queryFrontend:
enabled: false
storegateway:
enabled: true
resources:
limits:
memory: "2Gi"
requests:
memory: "1Gi"
compactor:
enabled: true
receive:
Expand Down
1 change: 1 addition & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ deploy_grafana() {
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
helm upgrade --install grafana grafana/grafana \
--version 7.3.0 \
-f ./k8s-values/values.grafana.yaml \
-n grafana \
--create-namespace \
Expand Down

0 comments on commit 4382488

Please sign in to comment.