Commit b9f846e
Right-size rails workload: 1Gi + capacityAI
Previous commit bumped memory 512Mi → 2Gi matching the marketplace
demo, but cherry-picked only the memory dimension: CPU stayed at 300m
and capacityAI stayed false. Net result was a wasteful fixed 2Gi
allocation with no autoscale — the pattern Justin flagged.
Better right-size for this tutorial (smaller Rails surface than the
marketplace RSC demo):
- memory: 2Gi → 1Gi. Enough headroom for Rails + the Pro Node renderer
in one container without reserving capacity that won't be used.
- capacityAI: false → true. Adjusts CPU/memory within the single
replica based on observed usage, so the 1Gi/300m baseline grows if
actual workload warrants it. Matches the marketplace demo's
capacityAI posture without copying its oversized static baseline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 584921b commit b9f846e
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments