Deployment Configuration
Service Configuration
The WebSocket service is exposed on port 80, routing to container port 4000.ConfigMap
Configuration is managed through a ConfigMap:Environment Variables
| Variable | Value | Description |
|---|---|---|
WS_STREAM_URL | 0.0.0.0:4000 | WebSocket server listen address |
REDIS_URL | redis://exchange-redis-service.default.svc.cluster.local:80 | Redis connection URL for pub/sub |
Service Details
- Container Port: 4000
- Service Port: 80
- Replicas: 1
- Service Type: ClusterIP
- Image: jogeshwar01/exchange-ws-stream:ed9f044dc79ee713da9518648524e0c68a70ddf7
Dependencies
The WebSocket service depends on:- Redis: For real-time message pub/sub and caching
- exchange-redis-service: Internal cluster service endpoint

