arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

NATS and Kubernetes

The recommended way to deploy NATS on Kubernetes is using Helmarrow-up-right with the official NATS Helm Chart.

hashtag
Helm repo

To register the NATS Helm chart run:

hashtag
Config values

The default configuration values of the chart will deploy a single NATS server as a StatefulSet and a single replica Deployment.

The provides the list of Helm configuration values and examples for the current release.

For tracking the development version, refer to the .

Once the desired configuration is created, install the chart:

hashtag
Validate connectivity

Once the pods are up, validate by accessing the nats-box container and running a CLI command.

The output should indicate a successful publish to NATS.

hashtag
Commercial Options

Synadia offers , a self-service, bring-your-own Kubernetes deployment option that includes NATS and additional components.

helm repo add nats https://nats-io.github.io/k8s/helm/charts/
nats-boxarrow-up-right
ArtifactHub pagearrow-up-right
source repoarrow-up-right
Deploy for Kubernetesarrow-up-right
helm install nats nats/nats
kubectl exec -it deployment/nats-box -- nats pub test hi
16:17:00 Published 2 bytes to "test"