From 4de23f91df4f591f8352ca09a1e4d38419739692 Mon Sep 17 00:00:00 2001 From: Tushar Bhasme Date: Sat, 29 Jul 2023 01:16:48 +0530 Subject: [PATCH 1/3] Fix storage config file path for store-gateway and compactor The path for the storage specified while running store-gateway and compactor is not correct. The file exists in current directory but is expected under /etc/edtor Signed-off-by: Tushar Bhasme --- 2-lts/step3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-lts/step3.md b/2-lts/step3.md index 8396f94..a645f7c 100644 --- a/2-lts/step3.md +++ b/2-lts/step3.md @@ -30,7 +30,7 @@ You can read more about [Store](https://thanos.io/tip/components/store.md/) here ``` docker run -d --net=host --rm \ - -v /root/editor/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \ + -v $(pwd)/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \ --name store-gateway \ quay.io/thanos/thanos:v0.28.0 \ store \ From bb3d1c94cc26a78bf332e06a6f7ee887106ceeea Mon Sep 17 00:00:00 2001 From: Tushar Bhasme Date: Sat, 29 Jul 2023 01:18:17 +0530 Subject: [PATCH 2/3] Update step4.md Signed-off-by: Tushar Bhasme --- 2-lts/step4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-lts/step4.md b/2-lts/step4.md index 34f188e..81f2efc 100644 --- a/2-lts/step4.md +++ b/2-lts/step4.md @@ -23,7 +23,7 @@ Click below snippet to start the Compactor. ``` docker run -d --net=host --rm \ - -v /root/editor/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \ + -v $(pwd)/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \ --name thanos-compact \ quay.io/thanos/thanos:v0.28.0 \ compact \ From 9c5e45ad90120f114d75bd4b41c54c96cb0412fb Mon Sep 17 00:00:00 2001 From: Tushar Bhasme Date: Sun, 30 Jul 2023 01:45:35 +0530 Subject: [PATCH 3/3] Update receiver step1.md Signed-off-by: Tushar Bhasme --- 3-receiver/step1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3-receiver/step1.md b/3-receiver/step1.md index 5d73c69..1d4a75c 100644 --- a/3-receiver/step1.md +++ b/3-receiver/step1.md @@ -38,7 +38,7 @@ Run the prometheus instance: ``` docker run -d --net=host --rm \ - -v /root/editor/prometheus-batcave.yaml:/etc/prometheus/prometheus.yaml \ + -v $(pwd)/prometheus-batcave.yaml:/etc/prometheus/prometheus.yaml \ -v /root/prometheus-batcave-data:/prometheus \ -u root \ --name prometheus-batcave \ @@ -82,7 +82,7 @@ scrape_configs: ``` docker run -d --net=host --rm \ - -v /root/editor/prometheus-batcomputer.yaml:/etc/prometheus/prometheus.yaml \ + -v $(pwd)/prometheus-batcomputer.yaml:/etc/prometheus/prometheus.yaml \ -v /root/prometheus-batcomputer:/prometheus \ -u root \ --name prometheus-batcomputer \