[ci skip] Fix Alloy OOMKill and iDRAC priority class conflict
- Alloy: bump memory limits from 64Mi/128Mi to 256Mi/768Mi — pods were OOMKilled at 128Mi, steady-state usage is ~400-450Mi per node - iDRAC Redfish Exporter: add explicit priority_class_name to resolve conflict between Kyverno priority injection and default priority: 0
This commit is contained in:
parent
32a7c04deb
commit
3d4cdf3203
2 changed files with 6 additions and 2 deletions
|
|
@ -100,10 +100,13 @@ alloy:
|
||||||
}
|
}
|
||||||
|
|
||||||
# Resource limits for DaemonSet pods
|
# Resource limits for DaemonSet pods
|
||||||
|
# Alloy tails logs from all containers on the node via K8s API and batches
|
||||||
|
# them to Loki. Memory scales with number of active log streams (~30-50 per node).
|
||||||
|
# 128Mi was OOMKilled; steady-state usage is ~400-450Mi per pod.
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 64Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 128Mi
|
memory: 768Mi
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ resource "kubernetes_deployment" "idrac-redfish" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
|
priority_class_name = "tier-1-cluster"
|
||||||
container {
|
container {
|
||||||
# https://github.com/mrlhansen/idrac_exporter?tab=readme-ov-file
|
# https://github.com/mrlhansen/idrac_exporter?tab=readme-ov-file
|
||||||
image = "ghcr.io/mrlhansen/idrac_exporter:latest"
|
image = "ghcr.io/mrlhansen/idrac_exporter:latest"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue