From 299e00ea4168cd18f0aa435c9e43072e34d40ce7 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Fri, 19 Jun 2026 12:21:12 +0200 Subject: [PATCH] Scale analytics stack to 0 replicas The parca-analytics Prometheus, thanos-query, thanos-store and the oauth2-proxy that fronts analytics.parca.dev are being scaled to zero. Analytics ingestion has effectively been down anyway (it shares the single, wedged ingress-nginx controller), so this removes its footprint to verify the demo runs healthily without it while we evaluate moving the analytics stack onto its own cluster. PVCs, services, the Prometheus CR and object storage are retained -- only the pods stop -- so this is fully reversible by restoring the replica counts. --- monitoring/environments/scaleway-parca-demo/main.jsonnet | 6 ++++++ oauth2-proxy/values/scaleway-parca-demo.yaml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/monitoring/environments/scaleway-parca-demo/main.jsonnet b/monitoring/environments/scaleway-parca-demo/main.jsonnet index 6eec6b6cc..4dee45bc2 100644 --- a/monitoring/environments/scaleway-parca-demo/main.jsonnet +++ b/monitoring/environments/scaleway-parca-demo/main.jsonnet @@ -16,7 +16,11 @@ local kubeThanos = m.kubeThanos({ }, }, }) + { + // Analytics stack temporarily scaled to 0 while we evaluate moving it off this + // cluster. PVCs, services and object storage are retained; only pods stop. + store+: { statefulSet+: { spec+: { replicas: 0 } } }, query+: { + deployment+: { spec+: { replicas: 0 } }, networkPolicy+: { spec+: { ingress: [ @@ -184,6 +188,8 @@ local prometheuses = [ prometheus+: { spec+: { + // Analytics stack temporarily scaled to 0 (see kubeThanos above). + replicas: 0, enableRemoteWriteReceiver: true, query+: { lookbackDelta: '15m', // Analytics are only sent once every 10m diff --git a/oauth2-proxy/values/scaleway-parca-demo.yaml b/oauth2-proxy/values/scaleway-parca-demo.yaml index 65625be4a..104d84df3 100644 --- a/oauth2-proxy/values/scaleway-parca-demo.yaml +++ b/oauth2-proxy/values/scaleway-parca-demo.yaml @@ -1,4 +1,7 @@ oauth2-proxy: + # Scaled to 0: only fronts analytics.parca.dev, which is paused while the + # analytics stack is evaluated for moving off this cluster. + replicaCount: 0 ingress: hosts: - oauth2.parca.dev