This adds timeoutSeconds: 5 to the readiness and liveness probes in files/discourse/postgres18.yaml.
Why: on 2026-11-18, Discourse was down for about two hours. Its database shares alpha-worker-3 (1 vCPU) with Gitea, and crawlers were hammering Gitea. Under that load pg_isready missed the default 1-second timeout, and the kubelet restarted a healthy database about 40 times. The other half of the fix is in DevOps/ansible-role-gitea (robots.txt).
Live state: the live StatefulSet was already patched the same way, with Eric's approval. kubectl diff -f files/discourse/postgres18.yaml against the cluster shows no difference, so re-running the role changes nothing.
This adds `timeoutSeconds: 5` to the readiness and liveness probes in `files/discourse/postgres18.yaml`.
**Why:** on 2026-11-18, Discourse was down for about two hours. Its database shares `alpha-worker-3` (1 vCPU) with Gitea, and crawlers were hammering Gitea. Under that load `pg_isready` missed the default 1-second timeout, and the kubelet restarted a healthy database about 40 times. The other half of the fix is in DevOps/ansible-role-gitea (robots.txt).
**Live state:** the live StatefulSet was already patched the same way, with Eric's approval. `kubectl diff -f files/discourse/postgres18.yaml` against the cluster shows no difference, so re-running the role changes nothing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
On 2026-11-18 crawler load on Gitea, which shares alpha-worker-3 (1 vCPU), made pg_isready miss the 1 s default, and the kubelet restarted a healthy database about 40 times, taking Discourse down. Matches the live StatefulSet, which was patched the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This adds
timeoutSeconds: 5to the readiness and liveness probes infiles/discourse/postgres18.yaml.Why: on 2026-11-18, Discourse was down for about two hours. Its database shares
alpha-worker-3(1 vCPU) with Gitea, and crawlers were hammering Gitea. Under that loadpg_isreadymissed the default 1-second timeout, and the kubelet restarted a healthy database about 40 times. The other half of the fix is in DevOps/ansible-role-gitea (robots.txt).Live state: the live StatefulSet was already patched the same way, with Eric's approval.
kubectl diff -f files/discourse/postgres18.yamlagainst the cluster shows no difference, so re-running the role changes nothing.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.