rroemhild / docker-ejabberd

Dockerfile for Ejabberd server
MIT License
268 stars 160 forks source link

Kubernetes working example #181

Open claudiocleberson opened 5 years ago

claudiocleberson commented 5 years ago

Hi @rroemhild ,

Firstly, thanks for that docker image.

I've been able to implement a k8s cluster with you image with some changes to scripts.

The implementation allows the nodes to join automatically the cluster.

I think that would be great to have that documented here and available to the community.

Let me know your thoughts.

regards,

Claudio.

rroemhild commented 5 years ago

That would be awesome! Can you open a pull request? Do you think it is possible to implement your changes on some scripts, so that we can enable the k8s cluster feature with one or more environment variables?

claudiocleberson commented 5 years ago

I think that is possible. I'll start the documentation to the k8s setup, followed by the changes to the scripts and variables needed. After, open the pull request.

claudiocleberson commented 5 years ago

Hi @rroemhild ,

Have you looked at that PR? do you think it will be possible to merge. Let me know.

recarmona commented 4 years ago

I think that is possible. I'll start the documentation to the k8s setup, followed by the changes to the scripts and variables needed. After, open the pull request.

@claudiocleberson I am trying to do the same. I need to migrate mi ejabberd server to my new kubernetes infrastructure. Right now my authentication is against openldap and my users contacts are in a mysql database, I should maintain that on my k8s cluster. Where is that ejabberd k8s setup? Can I see it?

claudiocleberson commented 4 years ago

@recarmona I did that implementation on k8s nearly an year ago. I documented all I did on that branch below, inside the folder kubernetes. [https://github.com/claudiocleberson/docker-ejabberd/tree/kubernetes]

I hope that will help you out, If you have any doubt, Just drop me a message.

abdulbasitmughal commented 4 years ago

@claudiocleberson I want to use Ejabberd 20 on Kubernetes. I see [https://github.com/claudiocleberson/docker-ejabberd/tree/kubernetes] last updated two years back. Main repo [https://github.com/rroemhild/docker-ejabberd] support till v18 and didn't merged kubernetes. @rroemhild @claudiocleberson is it still worth to use these scripts or out dated please suggest.

claudiocleberson commented 4 years ago

@abdulbasitmughal, I haven't done anything recently with ejabberd, the project related was put on hold. What I can say, for my needs at the time, it worked. What I could recomend. if start from zero is not viable, read through my documented steps and I hope that will be of some help to you. Happy coding.

shrabonidey commented 3 years ago

Hello @claudiocleberson, Thanks a lot for the code. I am wondering is there a way to check it on browser if its running or not. Any interface it will give.