add TrueNAS Cloud Sync monitor CronJob and bump Prometheus Helm timeout

- New cloudsync-monitor CronJob: queries TrueNAS API every 6h, pushes metrics to Pushgateway
- Increase Prometheus Helm timeout to 900s for slow iSCSI reattach
This commit is contained in:
Viktor Barzin 2026-03-23 02:24:39 +02:00
parent e463281205
commit e4cf0dee83
3 changed files with 105 additions and 0 deletions

View file

@ -35,5 +35,7 @@ resource "helm_release" "prometheus" {
# version = "15.0.2"
version = "25.8.2"
timeout = 900 # 15 min Recreate strategy + iSCSI reattach is slow
values = [templatefile("${path.module}/prometheus_chart_values.tpl", { alertmanager_mail_pass = var.alertmanager_account_password, alertmanager_slack_api_url = var.alertmanager_slack_api_url, tuya_api_key = var.tiny_tuya_service_secret, haos_api_token = var.haos_api_token })]
}