github.com/jgaskins/nats-operator
main / published Jul 17, 2025 / repository
Kubernetes operator for spinning up NATS clusters
nats-operator
Kubernetes operator for running NATS clusters.
Installation
kubectl apply -f https://raw.githubusercontent.com/jgaskins/nats-operator/refs/heads/master/k8s/crd-nats.yaml
kubectl apply -f https://raw.githubusercontent.com/jgaskins/nats-operator/refs/heads/master/k8s/operator-nats.yaml
Usage
echo <<EOF | kubectl apply -f -
---
apiVersion: jgaskins.dev/v1beta1
kind: NATSCluster
metadata:
name: nats
spec:
replicas: 5
jetstreamSize: "10Gi"
version: 2.11.6
EOF
Contributing
- Fork it (https://github.com/your-github-user/nats-operator/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer