Runtime Topology: 009-kubernetes-runtime
Parent state: 008-order-management-matcher
State 009 preserves parent-state functional behavior while moving runtime orchestration to Kubernetes.
Entrypointsβ
- Browser/UI/API entrypoint:
http://localhost:8080 - Edge health:
http://localhost:8080/health - Edge service model: Kubernetes
NodePortservice mapped by local cluster provider settings.
Componentsβ
- Namespace:
traderx - Edge:
edge-proxydeployment (NGINX)edge-proxyservice (NodePort)edge-proxy-configConfigMap generated fromsystem/nginx-edge.conf
- Core services and supporting components are inherited from state
008and rendered as Kubernetes Deployments/Services.
Networkingβ
- Browser traffic enters through
edge-proxyonly. - Path prefixes remain stable across inherited API routes and websocket routes.
- Inter-service traffic uses Kubernetes service DNS names.
Startup / Health Orderβ
- Ensure target local cluster exists (Kind default; optional Minikube).
- Build/load state images for the selected provider.
- Apply generated manifests.
- Wait for deployment availability.
- Probe edge health and UI routes.