What This Design Does:
This design is a production-ready NATS JetStream cluster architecture for Kubernetes. It includes a ConfigMap for JetStream storage settings, a StatefulSet for running NATS nodes, a Headless Service (clusterIP: None) for internal peer discovery and clustering, and a ClusterIP Service exposing client and HTTP monitoring ports. Ideal for cloud-native messaging, event streaming, and microservices communication.
Design Snapshot
Caveats and Consideration:
- For production workloads, you should attach a dynamic StorageClass using volumeClaimTemplates on the StatefulSet so JetStream stream data (store_dir) can persists even when pod restarts. - Currently configured with 1 replica for sandbox compatibility but for production HA (high availability), it'll be ideal to scale the StatefulSet to 3 or 5 replicas to maintain Raft consensus quorum. - Update the target namespace from `playground-sandbox` to a dedicated namespace (e.g., `nats-system`).
Compatibility:
Design Details
CATEGORY
deploymentCREATED BY
CREATED AT
November 18, 2026VERSION
0.0.9-
MODELS
Related Designs
vault-0.30.1.tgz