The recommended way to deploy NATS on Kubernetes is using Helm with the official NATS Helm Chart.
To register the NATS Helm chart run:
The default configuration values of the chart will deploy a single NATS server as a StatefulSet and a single replica nats-box Deployment.
The ArtifactHub page provides the list of Helm configuration values and examples for the current release.
For tracking the development version, refer to the source repo.
Once the desired configuration is created, install the chart:
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.
Synadia offers Deploy for Kubernetes, a self-service, bring-your-own Kubernetes deployment option that includes NATS and additional components.