From b0ffdc3e8969ab6d1c0fb4812c89c1428d106650 Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Fri, 6 Nov 2026 17:57:24 -0500 Subject: [PATCH] PeerTube: allow up to 10 minutes for startup The 30-second startup window caused a restart loop on small nodes. Co-Authored-By: Claude Opus 5.5 --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index eef6b0c..f4f2e54 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -191,18 +191,26 @@ ## Default probes, using ping API to avoid excessive echo ## + # Small nodes: cold start (plugins, migrations) can take minutes, and the + # ping can stall briefly under load. Allow up to 10 minutes to start. livenessProbe: httpGet: path: /api/v1/ping port: http + timeoutSeconds: 5 + failureThreshold: 6 readinessProbe: httpGet: path: /api/v1/ping port: http + timeoutSeconds: 5 startupProbe: httpGet: path: /api/v1/ping port: http + timeoutSeconds: 5 + periodSeconds: 10 + failureThreshold: 60 serviceAccount: ## Specifies whether a service account should be created