I am glad you and a few others (I found videos posted earlier this year) are talking about Docker Swarm. This technology should not be left behind because while Kubernetes has its place, it is overkill and unnecessarily complex for some applications. Docker Swarm and Gluster running on a clustered hypervisor is an awesome highly available solution. I hope your video brings a renewed interest in the continued development and support for Docker Swarm.
Thank you, one of best in homelab, As always, excellent deployment process with detailed explanation.
Thanks for the demo and info, Happy Holidays, and have a great day.
Thank you so much for this video. I was able to get the 5 node swarm cluster up and running, with Portainer with your script. Took a quite a bit to figure out the SSH files and stuff, but finally got it. Really appreciate the video, instructions, and script.
Hey Jim, thanks for posting this. I haven't used docker swarm in a long time because I thought it wasn't support any longer but I will just back in and give it go again. Thanks for your hard work sir. I made try to redeploy this into a LXD service as well.
Great video, been waiting for it for a while. A few questions/comments: - Why not use tail scale so all nodes would see each other and avoid opening ports across different geographic locations? - Why not use a proxmox container instead of the VMs? Any performance issues? - Why not create a container template and easily add a clone to the swarm? - What performance issues to expect with GlusterFS?
Awesome video. Thank you for being thorough.
Really like all of your videos, your home lab like how I want mine to be, with the exception of the Sophos firewall!! (turned my XG into a PFSense box) Except I'm using XCP-ng at the moment as it seems to be more in use in the commercial environment than Proxmox.
Thanks Jim, nice job 🥷
Excellent walk through! 🎉
Excellent, thank you!
You can have a 3 node cluster, with all 3 being managers/worker combo’s.. and you always need an uneven number of managers for quorum consistency.
Hey Jim. I had used docker swarm long time ago and was really impressed. Too bad it faded out of fashion. As you said, it would be a very good fit for homelabs.
Great video! I want to do this in my VMware home lab.
amazing all my project now running on docker swarm even wordpress
Hi there! Just wanted to say a huge thank you @Jim's Garage for the awesome video on Docker Swarm and GlusterFS. I took a slightly different route and have now installed Docker Swarm, GlusterFS and Keepalived. I've got a little question about GlusterFS and Docker Bind-Mount and Volumes. I found some really helpful examples online, and they used bind mounts. But now I'm trying to use a volume and I've got a question about whether this is possible. I'd have to move /var/lib/docker to /mnt, which I'm a bit worried about as this directory has all my volumes and Docker configurations in it. Is this a good idea or is there a better way?I hope I've explained my situation clearly. Thank you so much for your help, I really appreciate it! Best wishes
This project is end of life. Do you have an updated video @Jim's Garage ?
I know this is an old video and I already got a K3s cluster with 3 masters and 3 workers on 3 nodes, but I wanted to try this docker swarm script. I needed to tweak it a little to work on my homelab env but I did make it work. Now, one thing I see in my case is that I do have all my agents installed in all nodes and I can see them ok in portainer but looks like theres multiple agents running on some nodes. For example in nodes 2,4,5 is running 2 agents nodes.
Gluster is basically end-of-life (in a year) so I wouldn’t base a new setup on it, I think there are better options. It also has terrible performance in my experience, but that might be related to the amount of data.
@PCMagik