Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions k8s/infra-manifest/monitoring/helm-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
grafana:

# Soft-prefer the original 'agentpool' node pool (roomier RAM) so the memory-heavy
# monitoring stack stays off the prod 'userpool' node. Preference only, so it still
# schedules if agentpool is full. Both nodes share a zone, so the PVC alone doesn't pin it.
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: agentpool
operator: In
values:
- agentpool

admin:
existingSecret: grafana-admin
userKey: admin-user
Expand Down Expand Up @@ -37,6 +51,17 @@ grafana:

prometheus:
prometheusSpec:
# Soft-prefer 'agentpool' — keep the memory-heavy monitoring stack off the prod node.
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: agentpool
operator: In
values:
- agentpool
retention: 90d
retentionSize: 50GB
storageSpec:
Expand All @@ -50,6 +75,17 @@ prometheus:

alertmanager:
alertmanagerSpec:
# Soft-prefer 'agentpool' — keep the memory-heavy monitoring stack off the prod node.
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: agentpool
operator: In
values:
- agentpool
storage:
volumeClaimTemplate:
spec:
Expand Down
12 changes: 12 additions & 0 deletions k8s/infra-manifest/monitoring/loki-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ loki:

singleBinary:
replicas: 1
# Soft-prefer the original 'agentpool' node pool so Loki stays off the prod 'userpool'
# node. Preference only; both nodes share a zone so the PVC alone doesn't pin it.
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: agentpool
operator: In
values:
- agentpool
persistence:
enabled: true
size: 32Gi
Expand Down
Loading