fix(devolo-exporter): adjust scrape interval and enhance health check functionality
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user