Platform Admin Service — Deployment Topology
Status: populated Owner: TBD Last updated: 2026-04-18 Companion: 17 Technology Stack
1. Runtime summary
| Property | Value |
|---|---|
| Runtime | Node.js 22 LTS |
| Framework | NestJS 11 |
| Package | @ghasi/service-platform-admin |
| HTTP port | 3010 |
| Healthcheck | GET /health |
2. Container topology
3. Scaling
| Dimension | Value |
|---|---|
| Min replicas | 2 |
| Max replicas | 6 |
| Scale trigger | CPU ≥ 60% avg over 90 s |
| Resource request | cpu: 150m, memory: 192Mi |
| Resource limit | cpu: 600m, memory: 384Mi |
Lower replica count than auth services — traffic is primarily Super Admin and internal service calls; not user-facing high volume.
4. Environment variables
| Variable | Description |
|---|---|
DATABASE_URL | PostgreSQL connection string |
REDIS_URL | Redis connection string |
NATS_URL | NATS JetStream URL |
PLTADM_FLAG_CACHE_TTL_S | Flag evaluation cache TTL (default: 60) |
PLTADM_HEALTH_CACHE_TTL_S | Aggregate health cache TTL (default: 10) |
PLTADM_HEALTH_POLL_INTERVAL_S | Health poll interval (default: 15) |
PLTADM_HEALTH_STALENESS_S | Source staleness threshold (default: 60) |
OTEL_EXPORTER_OTLP_ENDPOINT | OTel collector |
OTEL_SERVICE_NAME | platform-admin-service |
5. Network policies
| Source | Destination | Port |
|---|---|---|
| Kong | platform-admin-service | 3010 |
| platform-admin-service | PostgreSQL | 5432 |
| platform-admin-service | Redis | 6379 |
| platform-admin-service | NATS | 4222 |
| platform-admin-service | All services /health | Various |
| Any service | /internal/admin/* | 3010 (cluster CIDR only) |