fix: wait for available PostgreSQL deployment

This commit is contained in:
nyan404 committed 2026-08-25 15:28:42 +03:00
1 parent 12e68564f6
commit 2b7716dd4e
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -42,6 +42,6 @@ kubectl -n belki apply -f deploy/k8s/production.yaml
kubectl -n belki rollout status deployment/belki-web --timeout=180s
```
The deploy job checks the PostgreSQL pod with `kubectl wait --for=condition=Ready` instead of `rollout status`: the database template is not updated by an application image deployment, and a stale Deployment progress condition must not hide a healthy database or fail an otherwise successful release.
The deploy job checks `deployment/belki-postgres` with `kubectl wait --for=condition=Available` instead of selecting Pods or using `rollout status`: the database template is not updated by an application image deployment. Pod-label selection can include a stale ReplicaSet, while the Deployment availability condition expresses the required outcome — one usable database replica.
MetalLB адрес шлюза — `10.12.0.204`; он раздаёт старый CatWar-сайт и проксирует `/belki`, `/admin` и `/api/*` на Belki web `10.12.0.212`.