From 5b43e57efae57987df2ed0a5a9ac52cc184d8a9a Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 6 Apr 2026 12:22:57 +0300 Subject: [PATCH] actualbudget: use internal ClusterIP for http-api server URL The http-api sidecar was connecting to the public URL (https://budget-*.viktorbarzin.me) which goes through Traefik/Authentik. When pods got rescheduled to different nodes, this caused ETIMEDOUT errors. Changed to internal service URL (http://budget-*.actualbudget.svc.cluster.local) which is fast and reliable regardless of pod placement. --- stacks/actualbudget/factory/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/actualbudget/factory/main.tf b/stacks/actualbudget/factory/main.tf index 330fb13a..1d061984 100644 --- a/stacks/actualbudget/factory/main.tf +++ b/stacks/actualbudget/factory/main.tf @@ -192,7 +192,7 @@ resource "kubernetes_deployment" "actualbudget-http-api" { } env { name = "ACTUAL_SERVER_URL" - value = "https://budget-${var.name}.viktorbarzin.me" + value = "http://budget-${var.name}.actualbudget.svc.cluster.local" } env { name = "ACTUAL_SERVER_PASSWORD"