nats-io / nack

NATS Controllers for Kubernetes (NACK)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misleading defaults for storage type

scho-to opened this issue · comments

Hey there,

if you check the docu at https://docs.nats.io/nats-concepts/jetstream/streams#storagetype, there it says that the fileStorage type should be "file" by default.

When you look into the nack crds https://raw.githubusercontent.com/nats-io/nack/v0.8.0/deploy/crds.yml, you can see at "storage"-property, that the default value is "memory".

This might be confusing and can lead to problems in kubernetes environments.

Ah I already know, why the crds use "memory" as the default storage type.

You might not necessarily use jetstreams and therefore there might be no persistent volume by default.

This issue can be closed.