feat(backstage): switch to RollingUpdate
yaml / yaml (pull_request) Successful in 26s

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-01 19:35:12 +00:00
co-authored by Claude Opus 5.5
parent a4e2c60346
commit fef75ad34f
+8 -1
View File
@@ -8,8 +8,15 @@ metadata:
backstage.io/kubernetes-id: homelab-backstage backstage.io/kubernetes-id: homelab-backstage
spec: spec:
replicas: 1 replicas: 1
# Backstage is multi-instance safe (scheduler locks, event bus, and auth keys
# live in PostgreSQL), so surge one new pod and keep the old one serving
# until it is ready. Migrations run on the new pod while the old one still
# serves; revisit if an upgrade ships a backward-incompatible migration.
strategy: strategy:
type: Recreate type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: backstage app.kubernetes.io/name: backstage