Page MenuHomeSoftware Heritage

D8381.id30245.diff
No OneTemporary

D8381.id30245.diff

diff --git a/proxmox/terraform/staging/cluster-archive-staging.tf b/proxmox/terraform/staging/cluster-archive-staging.tf
--- a/proxmox/terraform/staging/cluster-archive-staging.tf
+++ b/proxmox/terraform/staging/cluster-archive-staging.tf
@@ -193,10 +193,36 @@
chart_name = "rancher-monitoring"
chart_version = "100.1.3+up19.0.3"
values = <<EOF
+global:
+ # mark metrics with discriminative extra information
+ # see https://thanos.io/tip/thanos/quick-tutorial.md/#external-labels
+ external_labels:
+ environment: staging
+ infrastructure: kubernetes
+ domain: staging
+ cluster_name: ${rancher2_cluster.archive-staging.name}
prometheus:
+ enabled: true
prometheusSpec:
requests:
- cpu: "250m"
- memory: "250Mi"
+ cpu: 250m
+ memory: 250Mi
+ thanos:
+ # thanos-objstore-config-secret is installed in namespace cattle-monitoring-system
+ # see k8s-private-data:archive-staging/thanos-objstore-config-secret.yaml. And
+ # https://prometheus-operator.dev/docs/operator/thanos/#configuring-thanos-object-storage
+ objectStorageConfig:
+ key: thanos.yaml
+ name: thanos-objstore-config-secret
+ # thanos sidecar
+ thanosService:
+ enabled: false
+ # thanos ingress sidecar
+ thanosIngress:
+ enabled: false
+ thanosServiceMonitor:
+ enabled: false
+ thanosServiceExternal:
+ enabled: false
EOF
}

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 2, 10:52 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3226407

Event Timeline