Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312404
D8381.id30245.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8381.id30245.diff
View Options
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
Details
Attached
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
Attached To
D8381: cluster-archive-staging: Activate thanos sidecar service
Event Timeline
Log In to Comment