Closed Ryner51 closed 5 years ago
you could create a secret with the configuration parameters as per the streaming docs then mount it on the container via the template
field:
---
apiVersion: "streaming.nats.io/v1alpha1"
kind: "NatsStreamingCluster"
metadata:
name: "example-stan"
spec:
natsSvc: "example-nats"
configFile: "/etc/stan/config/secret.conf"
# Define Pod Spec
template:
spec:
volumes:
- name: stan-secret
secret:
secretName: stan-secret
containers:
- name: nats-streaming
volumeMounts:
- mountPath: /etc/stan/config
name: stan-secret
readOnly: true
Awesome. Will try it out. Thanks so much for the quick reply.
np, ok will close this one for now
How do I configure the Store Limits of the NATS Streaming Server?
For example, I want to set the number of subscriptions to be unlimited as well as increase the message payload. When I was using NATS Streaming Server locally, I was able to pass in different parameters to change these settings.