You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: production-ready horizontal scaling and multi-replica support
1. Configurable replicas: add spec.availability.replicas field
(default 1, ignored when HPA is enabled). Controller preserves
HPA-managed replica count to avoid fighting the autoscaler.
2. Heartbeat leader election: when replicas > 1, only pod-0 runs
the heartbeat scheduler. Uses a shell wrapper that checks the
StatefulSet ordinal in $HOSTNAME before exec-ing the entrypoint.
3. Auto TCP probes: in authenticated/single-tenant mode, /api/health
returns 403 without credentials, breaking HTTP probes. New
spec.probes.type field (auto/http/tcp) defaults to "auto" which
uses TCP for authenticated modes and HTTP for open mode.
4. Managed DB improvements: add default resource requests/limits
(250m/256Mi requests, 1/1Gi limits), enable --data-checksums
for storage corruption detection, add preStop hook for graceful
PostgreSQL shutdown. Document that external DB is recommended
for HA production deployments.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments