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

Provide a way to deploy NATS Streaming as a StatefulSet #73

Open
emaincourt opened this issue Jul 14, 2020 · 2 comments
Open

Provide a way to deploy NATS Streaming as a StatefulSet #73

emaincourt opened this issue Jul 14, 2020 · 2 comments

Comments

@emaincourt
Copy link

Hi,

First of all thanks a lot for the great work you've been doing with NATS/NATS Streaming.

I'm currently looking for a proper way to deploy NATS Streaming next to our NATS cluster on Kubernetes and it seems that using a file persistence mechanism, in addition with an HA topology, is pretty complicated at the moment. As the Helm chart stored in this repository makes use of a Deployment, as well as the operator, it becomes very tricky to handle horizontal scaling as volumes won't be dynamically created.

I am already aware of this Helm chart but it is still an external repository.

Would you potentially be interested in:

  • Merging the aforementioned Helm chart into this repository to make it more accessible
  • Migrate the current Helm Chart to make use of a StatefulSet
  • Migrate the Operator to make use of a StatefulSet instead of a Deployment

In case the last two ones might be of interest to you, I could definitely take care of creating the PR. I only want to make sure this is something you might be looking for first.

This issue is more or less a duplicate/proposal to fix:

Thanks in advance for reading

@wallyqs
Copy link
Member

wallyqs commented Jul 14, 2020

Al those would be very welcome changes. There is also an alternative Helm chart here https://github.com/nats-io/k8s/tree/master/helm/charts/stan that was based on this one: https://github.com/wallyqs/nats-streaming-cluster-chart

@emaincourt
Copy link
Author

@wallyqs Thanks a lot for linking this chart, I hadn't seen it before. Will try to lock some time over the next weeks to integrate the mechanisms of both the charts into the operator and see how things go.

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