Initial commit: a0_software_orchestrator v1.0
- Auto-Registration-Bug behoben (register_project/get_project_id/resolve_project Trennung) - 25 Tests gruen (Pytest) - block_compactor-Tool refactored (Option B: Soft-Check statt Hard-Block) - 4 Restbaustellen gefixt - DB-Schema: plugin_settings-Tabelle hinzugefuegt - 3 Schattenprojekte aus DB geloescht - Plan v3 + Refactor-Plan + Worklog dokumentiert
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# 08_healthchecks.md
|
||||
|
||||
# Healthchecks
|
||||
|
||||
## Status trennen
|
||||
|
||||
```text
|
||||
running ≠ healthy ≠ ready ≠ working
|
||||
```
|
||||
|
||||
## HTTP Health
|
||||
|
||||
```text
|
||||
/health /ready /api/health /actuator/health
|
||||
```
|
||||
|
||||
Soll schnell, ohne Auth, stabil und billig sein.
|
||||
|
||||
## DB/Redis
|
||||
|
||||
```text
|
||||
Postgres: pg_isready
|
||||
MySQL: mysqladmin ping
|
||||
Redis: redis-cli ping
|
||||
```
|
||||
|
||||
## Einstellungen
|
||||
|
||||
```text
|
||||
start_period für langsame Apps
|
||||
interval/retries realistisch
|
||||
timeout nicht zu knapp
|
||||
```
|
||||
|
||||
## Dummy Healthcheck
|
||||
|
||||
`CMD true` nur temporär zur Diagnose, nie final.
|
||||
|
||||
## Migration/Init
|
||||
|
||||
One-shot Jobs nicht wie dauerhafte Services healthchecken. Ggf. `exclude_from_hc`, separater Migrationsschritt oder Entry-Migration+Start.
|
||||
|
||||
## No Available Server
|
||||
|
||||
Prüfen:
|
||||
|
||||
```text
|
||||
unhealthy
|
||||
falscher Port
|
||||
localhost binding
|
||||
Proxy-Ziel falsch
|
||||
App noch nicht ready
|
||||
```
|
||||
Reference in New Issue
Block a user