beardedeagle / mnesiac

Mnesia autoclustering made easy!
MIT License
130 stars 21 forks source link

How to use with libcluster Kubernetes DNS clustering strategy #7

Closed athal7 closed 6 years ago

athal7 commented 6 years ago

Question

I'm curious what the best way is to use this with the libcluster Kubernetes DNS clustering strategy. I see that the hosts are used in the examples, but I won't have the hosts on hand with that clustering strategy.

Thanks!

athal7 commented 6 years ago

I have this working with a separate call to Supervisor.start_link() for libcluster, and then passing in Node.list() as the hosts to the supervisor process for mnesiac.

erikmocny commented 5 years ago

@athal7 Would you be so kind and provide me some snippet of this configuration? I'm working on same thing. Thanks

athal7 commented 5 years ago

@erikmocny https://gist.github.com/athal7/3cafa2fa56eeb32fd3282dcfcdae93d9

erikmocny commented 5 years ago

@athal7 Thank you, appreciate it.