Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jetstream.yml - [ is not respecting the storage value on the helm chart ] #28

Open
randomk opened this issue May 8, 2021 · 2 comments

Comments

@randomk
Copy link

randomk commented May 8, 2021

Hey Folks,

When I create a stream-product for nats on kubernetes it is not respecting the file parameter in helm chart.

follow my deployment.
https://gist.github.com/randomk/6456ef3db59127765697607db06ea488


apiVersion: jetstream.nats.io/v1beta1
kind: Stream
metadata:
name: product
spec:
name: product
subjects: ["product.*"]
storage: file
maxAge: 1h
replicas: 3
noAck: true
maxMsgs: -1
maxBytes: -1
retention: limits
discard: old
maxMsgSize: -1

I am checking via nats-toolbox and its not showing correct, showing as a memory stream

fun-fact when I create a stream via the nats-toolbox it creates correct as a file.
nats str add ORDERS --subjects "ORDERS.*" --ack --max-msgs=-1 --max-bytes=-1 --max-age=1y --storage file --retention limits --max-msg-size=-1 --discard=old

@randomk
Copy link
Author

randomk commented May 8, 2021

when I run the command nats str report the storage is returning as memory and with that the data is not being persisted to disk

@larssb
Copy link

larssb commented May 27, 2021

@randomk have you identified what seems to be the issue here? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants