Skip to content

Commit 82d884f

Browse files
waleedlatif1claude
andcommitted
fix: describe the PDB activation condition accurately
The autoscaling term is computed once from the global `autoscaling` block and reused for both PodDisruptionBudgets, so `minReplicas > 1` creates realtime's even when `autoscaling.realtime.enabled` is false and no realtime HPA exists. Calling the two independent was wrong. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015BwsJTEQRzWJaY4BRCkPZt
1 parent 99253be commit 82d884f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/docs/content/docs/platform/self-hosting

apps/docs/content/docs/platform/self-hosting/scaling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The `resources` block above is the chart's default — it is shown so the number
4141

4242
**Memory is the constraint, not CPU.** Workflow executions run inside the app process in isolated-vm sandboxes, and file parsing happens in memory. Production telemetry shows 4–8 GB steady with peaks to 12 GB under heavy execution load. Under-provision memory and you get OOMKills that terminate in-flight workflow runs — so raise `limits.memory` above the 8 Gi default if your workload shows those peaks.
4343

44-
A PodDisruptionBudget is created automatically once `replicaCount > 1`, or once `autoscaling.enabled` with `minReplicas > 1` — for the app and realtime independently (`maxUnavailable: 25%`). Tighten it with `podDisruptionBudget.minAvailable` if you need to.
44+
A PodDisruptionBudget is created automatically once `replicaCount > 1`, or once `autoscaling.enabled` with `minReplicas > 1` (`maxUnavailable: 25%`). The app and realtime each consider their own `replicaCount`, but the autoscaling term is shared: `minReplicas > 1` creates both PDBs, including realtime's when `autoscaling.realtime.enabled` is false and no realtime HPA exists. Tighten it with `podDisruptionBudget.minAvailable` if you need to.
4545

4646
### Autoscaling
4747

0 commit comments

Comments
 (0)