summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 20:37:33 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 20:37:33 +0200
commitac255b1fae12c68be0ac790386709df80ec078d8 (patch)
tree43b4168355c523ee0439bf4ab5a8db69b0d6d5c2
parentdc62ca6ab585f38d4d8e2ace98199d4887719821 (diff)
Fix relayd.conf syntax: replace invalid persist/timeout keywords with session timeout
Amp-Thread-ID: https://ampcode.com/threads/T-019c1549-6538-740f-b867-595c2dff8117 Co-authored-by: Amp <amp@ampcode.com>
-rw-r--r--f3s/argocd/values.yaml7
-rw-r--r--frontends/etc/relayd.conf.tpl8
2 files changed, 9 insertions, 6 deletions
diff --git a/f3s/argocd/values.yaml b/f3s/argocd/values.yaml
index 7e225f2..ad30bfb 100644
--- a/f3s/argocd/values.yaml
+++ b/f3s/argocd/values.yaml
@@ -52,6 +52,13 @@ server:
# Repo Server configuration (clones repos, generates manifests)
repoServer:
replicas: 1
+ # Increase liveness probe timeout to prevent restarts during slow health checks
+ livenessProbe:
+ timeoutSeconds: 5
+ failureThreshold: 5
+ readinessProbe:
+ timeoutSeconds: 5
+ failureThreshold: 5
# Enable persistence for repo cache - mount PVC at /home/argocd/repo-cache
volumes:
- name: repo-server-data
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 5c53df3..3f5edfc 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -86,9 +86,7 @@ http protocol "https" {
relay "https4" {
listen on <%= $ipv4address->($hostname) %> port 443 tls
protocol "https"
- persist
- timeout connect 10s
- timeout session 300s
+ session timeout 300
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
forward to <localhost> port 8080
@@ -101,9 +99,7 @@ relay "https4" {
relay "https6" {
listen on <%= $ipv6address->($hostname) %> port 443 tls
protocol "https"
- persist
- timeout connect 10s
- timeout session 300s
+ session timeout 300
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
forward to <localhost> port 8080