Skip to content

Release v0.3.0

Compare
Choose a tag to compare
@wallyqs wallyqs released this 20 Dec 23:11

Image:

synadia/nats-streaming-operator:v0.3.0-v1alpha1

To install:

kubectl apply -f https://github.com/nats-io/nats-streaming-operator/releases/download/v0.3.0/default-rbac.yaml
kubectl apply -f https://github.com/nats-io/nats-streaming-operator/releases/download/v0.3.0/deployment.yaml

Added

  • Added ftGroup option to switch to fault tolerance mode when using a shared filesystem.
---
apiVersion: "streaming.nats.io/v1alpha1"
kind: "NatsStreamingCluster"
metadata:
  name: "stan"
spec:
  natsSvc: "nats"
  size: 3

  image: "nats-streaming:latest"

  config:
    storeDir: "/pv/stan"
    ftGroup: "stan"

  # Define mounts in the Pod Spec
  template:
    spec:
      volumes:
      - name: stan-store-dir
        persistentVolumeClaim:
          claimName: efs
      containers:
        - name: nats-streaming
          volumeMounts:
          - mountPath: /pv
            name: stan-store-dir