docker-ejabberd icon indicating copy to clipboard operation
docker-ejabberd copied to clipboard

Kubernetes working example

Open claudiocleberson opened this issue 7 years ago • 8 comments

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.

claudiocleberson avatar Nov 01 '18 12:11 claudiocleberson

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?

rroemhild avatar Nov 06 '18 09:11 rroemhild

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 avatar Nov 06 '18 10:11 claudiocleberson

Hi @rroemhild ,

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

claudiocleberson avatar Dec 15 '18 12:12 claudiocleberson

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?

recarmona avatar Nov 23 '19 20:11 recarmona

@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.

claudiocleberson avatar Nov 23 '19 20:11 claudiocleberson

@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.

abdulbasitmughal avatar Jun 04 '20 16:06 abdulbasitmughal

@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.

claudiocleberson avatar Jun 04 '20 16:06 claudiocleberson

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.

shrabonidey avatar Jul 05 '21 18:07 shrabonidey