Skip to main content

Platform Admin Service — Deployment Topology

Status: populated Owner: TBD Last updated: 2026-04-18 Companion: 17 Technology Stack

1. Runtime summary

PropertyValue
RuntimeNode.js 22 LTS
FrameworkNestJS 11
Package@ghasi/service-platform-admin
HTTP port3010
HealthcheckGET /health

2. Container topology

3. Scaling

DimensionValue
Min replicas2
Max replicas6
Scale triggerCPU ≥ 60% avg over 90 s
Resource requestcpu: 150m, memory: 192Mi
Resource limitcpu: 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

VariableDescription
DATABASE_URLPostgreSQL connection string
REDIS_URLRedis connection string
NATS_URLNATS JetStream URL
PLTADM_FLAG_CACHE_TTL_SFlag evaluation cache TTL (default: 60)
PLTADM_HEALTH_CACHE_TTL_SAggregate health cache TTL (default: 10)
PLTADM_HEALTH_POLL_INTERVAL_SHealth poll interval (default: 15)
PLTADM_HEALTH_STALENESS_SSource staleness threshold (default: 60)
OTEL_EXPORTER_OTLP_ENDPOINTOTel collector
OTEL_SERVICE_NAMEplatform-admin-service

5. Network policies

SourceDestinationPort
Kongplatform-admin-service3010
platform-admin-servicePostgreSQL5432
platform-admin-serviceRedis6379
platform-admin-serviceNATS4222
platform-admin-serviceAll services /healthVarious
Any service/internal/admin/*3010 (cluster CIDR only)