package

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

  1. Fork it (https://github.com/your-github-user/nats-operator/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

API