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

Use statefulset for cluster. #26

Open
thedodd opened this issue Jan 14, 2019 · 1 comment
Open

Use statefulset for cluster. #26

thedodd opened this issue Jan 14, 2019 · 1 comment

Comments

@thedodd
Copy link

thedodd commented Jan 14, 2019

I got started with the nats-operator helm chart. Everything works well there. As far as the streaming operator:

  • it would probably be best to use statefulsets for the actual cluster itself, as this will support volume claims much better. Otherwise, seems like you can only use a single node when running with DB or volume persistence.
  • would be awesome to turn this into its own helm chart as well, as that would definitely help with parameterization and other such issues (which I believe are still in the TODO.md in this repo).

Thanks for all the excellent work so far!!!

@wallyqs
Copy link
Member

wallyqs commented Jan 16, 2019

Thanks for the feedback! For now here is a helm chart that doesn't use the nats streaming operator and uses instead a statefulset here if want to take a look: https://github.com/wallyqs/nats-streaming-cluster-chart

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