-
Notifications
You must be signed in to change notification settings - Fork 308
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
helm: stan, volumeClaim configuration #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you Máximo
Thanks @orefalo I tried locally didn't get an error but maybe have introduced an issue during an upgrade, I will take another look
|
Hey @samstride sorry for the wait, I'm aiming at releasing a new version the charts in a couple of days. |
Thanks, will try again in a few days (with the new chart) and provide the complete log. |
volume: | ||
enabled: true | ||
mount: /data/stan | ||
storageSize: 100Gi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1Gi -> 100Gi. Sounds good... Were there any issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I will lower this down back to 1Gi by default otherwise will get an error when upgrading since cannot be changed on the fly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This allows to use the volumeClaimTemplate for the logs and the store. Otherwise, the cluster cannot recover their state, see nats-io/nats-streaming-server#547
https://github.com/nats-io/nats-streaming-server/pull/548/files
Also, the support for choosing the storageClass has been introducing, and the default size has been changed to something more performance since usually small disk have low I/O in cloud platforms.