fix(devolo-exporter): adjust scrape interval and enhance health check functionality

This commit is contained in:
2025-10-14 22:43:02 +02:00
parent d069fe3585
commit 161efa5230
4 changed files with 207 additions and 134 deletions
@@ -75,9 +75,9 @@ resource "kubernetes_deployment" "devolo_exporter" {
path = "/healthz"
port = var.exporter_port
}
initial_delay_seconds = 10
period_seconds = 10
timeout_seconds = 5
initial_delay_seconds = 15
period_seconds = 60
timeout_seconds = 10
failure_threshold = 3
}
@@ -86,7 +86,7 @@ resource "kubernetes_deployment" "devolo_exporter" {
path = "/healthz"
port = var.exporter_port
}
initial_delay_seconds = 5
initial_delay_seconds = 10
period_seconds = 10
timeout_seconds = 5
failure_threshold = 3
@@ -126,6 +126,9 @@ resource "kubernetes_deployment" "devolo_exporter" {
"--disable-dev-shm-usage",
"--disable-extensions",
"--disable-gpu",
"--enable-low-end-device-mode",
"--memory-pressure-thresholds=moderate:512,critical:256",
"--force-device-scale-factor=1",
"--disable-popup-blocking",
"--disable-prompt-on-repost",
"--disable-sync",
@@ -144,7 +147,7 @@ resource "kubernetes_deployment" "devolo_exporter" {
"--remote-allow-origins=http://localhost:9222",
"--safebrowsing-disable-auto-update",
"--user-data-dir=/home/chromium",
"http://${var.devolo_ip}/#/overview"
"about:blank"
]
# Optional: expose the DevTools port within the pod (not needed outside)