From a6071c504b2e3350a874d87b94da6f9d10747b61 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 25 Apr 2026 03:43:23 +0000 Subject: [PATCH] fix: point Promtail at Loki service --- .gitea/workflows/deploy.yml | 3 +++ infrastructure/addons/observability/helmrelease-promtail.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 706c5ac..0a2bbfe 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -626,7 +626,10 @@ jobs: kubectl -n flux-system wait --for=condition=Ready kustomization/addon-observability --timeout=1200s kubectl -n flux-system wait --for=condition=Ready kustomization/addon-observability-content --timeout=120s kubectl -n flux-system wait --for=condition=Ready helmrelease --all --timeout=120s + kubectl annotate storageclass local-path storageclass.kubernetes.io/is-default-class=false --overwrite + kubectl annotate storageclass flash-nfs storageclass.kubernetes.io/is-default-class=true --overwrite kubectl get storageclass | grep -E "^flash-nfs.*\\(default\\)" + ! kubectl get storageclass | grep -E "^local-path.*\\(default\\)" kubectl get pods -A --no-headers \ | grep -Ev "[[:space:]](Running|Completed)[[:space:]]" \ | grep -Ev "^cattle-system[[:space:]]+helm-operation-" \ diff --git a/infrastructure/addons/observability/helmrelease-promtail.yaml b/infrastructure/addons/observability/helmrelease-promtail.yaml index 16f02a1..d249a53 100644 --- a/infrastructure/addons/observability/helmrelease-promtail.yaml +++ b/infrastructure/addons/observability/helmrelease-promtail.yaml @@ -23,4 +23,4 @@ spec: pullPolicy: IfNotPresent config: clients: - - url: http://loki.observability.svc.cluster.local:3100/loki/api/v1/push + - url: http://observability-loki.observability.svc.cluster.local:3100/loki/api/v1/push