@@ -255,11 +255,33 @@ tasks:
255255 - helm uninstall loki -n loki || true
256256 - kubectl delete namespace loki --ignore-not-found=true
257257
258+ infra:tempo :
259+ desc : Install Tempo
260+ cmds :
261+ - helm repo add grafana https://grafana.github.io/helm-charts || true
262+ - helm repo update grafana
263+ - kubectl create namespace loki --dry-run=client -o yaml | kubectl apply -f -
264+ - |
265+ helm upgrade --install tempo grafana/tempo -f k8s/tempo/tempo-values.yaml \
266+ --namespace loki \
267+ --wait --timeout=300s
268+ - |
269+ echo ""
270+ echo "=== Tempo Installed ==="
271+ echo ""
272+
273+ infra:tempo:uninstall :
274+ desc : Uninstall Tempo
275+ cmds :
276+ - helm uninstall tempo -n loki || true
277+ - kubectl delete namespace tempo --ignore-not-found=true
278+
258279 infra:all :
259280 desc : Install all infrastructure
260281 cmds :
261282 - task : infra:argo:rollouts
262283 - task : infra:loki
284+ - task : infra:tempo
263285
264286 infra:status :
265287 desc : Check infrastructure status
@@ -274,6 +296,9 @@ tasks:
274296 - |
275297 echo -n "Loki: "
276298 kubectl get deployment loki -n loki >/dev/null 2>&1 && echo "Installed" || echo "Not installed"
299+ - |
300+ echo -n "Tempo: "
301+ kubectl get deployment tempo -n tempo >/dev/null 2>&1 && echo "Installed" || echo "Not installed"
277302 - |
278303 echo -n "Grafana: "
279304 kubectl get deployment loki-grafana -n loki >/dev/null 2>&1 && echo "Installed" || echo "Not installed"
@@ -865,13 +890,13 @@ tasks:
865890 cmds :
866891 - |
867892 echo "Starting mirrord with copy_target..."
868- {{.MIRRORD_BIN | default "mirrord"}} exec -f {{.ROOT_DIR}}/k8s/sqs-localstack/copy-target-config.json -- sleep 10
893+ {{.MIRRORD_BIN | default "mirrord"}} exec -f {{.ROOT_DIR}}/k8s/overlays/ sqs-localstack/copy-target-config.json -- sleep 10
869894
870895 test:copy:target:run:long :
871896 desc : Create a long-running copy-target pod (10 minutes)
872897 cmds :
873898 - |
874- {{.MIRRORD_BIN | default "mirrord"}} exec -f {{.ROOT_DIR}}/k8s/sqs-localstack/copy-target-config.json -- sleep 600
899+ {{.MIRRORD_BIN | default "mirrord"}} exec -f {{.ROOT_DIR}}/k8s/overlays/ sqs-localstack/copy-target-config.json -- sleep 600
875900
876901 test:tls:certs :
877902 desc : Test TLS certificate configuration
0 commit comments