How it works
The server exposes two HTTP endpoints:Protocol
All messages are JSON-encoded with this base structure:Message types
Topics
Subscribing to topics
Send asubscribe message to receive events for a topic:
unsubscribe message with the same topic.
Requesting data
List personas
namespace field in the payload is optional. If omitted, personas from all namespaces are returned.
Get cluster info
name is omitted, the first ClusterPersona found is returned.
Event types
PersonaEvent
Broadcast when an ApplicationPersona changes:created, updated, deleted
ClusterEvent
Broadcast when cluster state changes:updated, nodeAdded, nodeRemoved
ValidationEvent
Broadcast when validation results change:Connection management
The server uses non-blocking broadcast — if a client’s send buffer is full, the message is dropped for that client rather than blocking other clients.
Configuration
Via Helm
Via CLI flag
CLI usage
The dorgu CLI connects to the WebSocket server automatically when available:Configuration
WebSocket configuration options
Helm values
WebSocket Helm chart values