From cc47ce2d3237a33528bab8973445725ea8e1b718 Mon Sep 17 00:00:00 2001 From: Josako Date: Tue, 23 Sep 2025 16:44:08 +0200 Subject: [PATCH] - Adaptation of the static url to be used. - Solved problem of using pushgateway in the k8s cluster --- config/config.py | 2 +- documentation/Production Setup/cluster-install.md | 5 +++++ scaleway/manifests/base/secrets/eveai-external-secrets.yaml | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/config.py b/config/config.py index 5aabbe6..a384a96 100644 --- a/config/config.py +++ b/config/config.py @@ -424,7 +424,7 @@ class StagingConfig(Config): CHAT_CLIENT_PREFIX = 'chat-client/chat/' # Define the static path - STATIC_URL = 'https://evie-staging-static.askeveai.com' + STATIC_URL = 'https://evie-staging-static.askeveai.com/' # PATH settings ffmpeg_path = '/usr/bin/ffmpeg' diff --git a/documentation/Production Setup/cluster-install.md b/documentation/Production Setup/cluster-install.md index 94c7f55..97974ad 100644 --- a/documentation/Production Setup/cluster-install.md +++ b/documentation/Production Setup/cluster-install.md @@ -130,6 +130,11 @@ helm install monitoring prometheus-community/kube-prometheus-stack \ --create-namespace \ --values scaleway/manifests/base/monitoring/prometheus-values.yaml +# Install pushgateway +helm install monitoring-pushgateway prometheus-community/prometheus-pushgateway \ + -n monitoring --create-namespace \ + --set serviceMonitor.enabled=true + # Monitor deployment progress kubectl get pods -n monitoring -w # Wait until all pods show STATUS: Running diff --git a/scaleway/manifests/base/secrets/eveai-external-secrets.yaml b/scaleway/manifests/base/secrets/eveai-external-secrets.yaml index 16da196..bbaf314 100644 --- a/scaleway/manifests/base/secrets/eveai-external-secrets.yaml +++ b/scaleway/manifests/base/secrets/eveai-external-secrets.yaml @@ -34,6 +34,9 @@ spec: # Alle keys uit eveai-tem secret - extract: key: name:eveai-tem + # alle secrets uit eveai-pushgateway secret + - extract: + key: name:eveai-pushgateway data: # Certificaat als aparte data entry - secretKey: REDIS_CERT