Health Check Overview
MATIH provides multi-level health checking through per-service health endpoints, a platform-wide status script, and dependency validation checks. Health checks are used by Kubernetes for pod lifecycle management (liveness and readiness probes), by the monitoring stack for availability tracking, and by operators for manual verification.
Subsections
| Page | Description |
|---|---|
| Service Health | Per-service health endpoints and Kubernetes probes |
| Platform Health | Platform-wide status validation scripts |
| Dependency Checks | External dependency connectivity verification |
Health Check Levels
| Level | Scope | Method | Frequency |
|---|---|---|---|
| Liveness | Single pod | Kubernetes liveness probe | Every 10s |
| Readiness | Single pod | Kubernetes readiness probe | Every 5s |
| Service | Single service (all pods) | Health endpoint aggregation | Every 15s |
| Platform | All services | platform-status.sh script | On demand |
| Dependency | External dependencies | Connectivity checks | Every 30s |
Quick Commands
| Check | Command |
|---|---|
| Platform status | ./scripts/tools/platform-status.sh |
| Full health check | ./scripts/disaster-recovery/health-check.sh |
| Port validation | ./scripts/tools/validate-ports.sh |
| Tenant ingress | ./scripts/tools/validate-tenant-ingress.sh |