Installing Docker Swarm on 4 Raspberry Pis with Portainer Integration - Lab Series

  Рет қаралды 8,320

Techdox

Techdox

Күн бұрын

Пікірлер: 20
@Techdox
@Techdox Жыл бұрын
I hope you enjoyed the video! Make sure to subscribe to follow this series! ❤
@TheKingofparis148
@TheKingofparis148 5 ай бұрын
great video got it up and running in no time following these steps
@John.Farrar
@John.Farrar Жыл бұрын
I have 4 RPi 4 w/8 G… and want to know how you set up in slightly more detail. You mentioned some links. Could you do a step through instruction for this part? This will give me a nice lab for sure.
@Techdox
@Techdox Жыл бұрын
Hi John, I am not sure exactly which sections you would want more detail in but I'll start from the start and then if you need any more help, let me know. Installing and setting up Docker - docs.docker.com/engine/install/ubuntu/ You will need Docker on every Raspberry Pi (Node) that you want part of your Swarm. Enabling Swam - docs.docker.com/engine/swarm/swarm-mode/ This link shows cases what I do in the video, so maybe using the video and referencing this guide in tandem may help to get your Swarm setup. And then Portainer - docs.portainer.io/start/install-ce/server/docker/linux - I have videos on this as well - kzbin.info/www/bejne/aKKngatrpLilapo These steps are what you would follow to get Swarm setup and then managed via Portainer. But please let me know what specifically I can help with.
@philipikeme3365
@philipikeme3365 8 ай бұрын
Great tutorial. I do however am stuck at adding the environments. I get connection refused when connecting the agent via portainer on the manager node. Any advice?
@jonyskids
@jonyskids 11 ай бұрын
Nice video. So your main Portainer is outside the swarm?
@Techdox
@Techdox 11 ай бұрын
Portainer server is running on Docker standalone yeah, then I have a Swarm cluster which I added to Portainer server as a new environment
@PaulPiHarris
@PaulPiHarris Жыл бұрын
Very useful video, I found it at about the right time for me. :) I'm migrating from an existing OMV setup to try to add a swarm for the dockers already installed on that. Should be fun. In your video, you skip over the actual installation of docker quite quickly, do you just follow the standard setup?
@Techdox
@Techdox Жыл бұрын
Yeah. I think nearly all of my videos I cover the install and since it’s so stock standard of following the offical documentation there’s no need to cover it every time haha
@jxthursday
@jxthursday Жыл бұрын
Hey, thanks for that very instructive video! I plan to set up a little swarm with a Pi2 and 2 Pi3s. You chose the Pi2 as manager, and I wonder why. My intuition would say, that you should use the more powerful machine as the manager. I know I'm late, but it would be great if you could elaborate on that.
@Techdox
@Techdox Жыл бұрын
Hey! Thanks for reaching out! So, about the Pi2 being the manager - it's mainly because those little guys can't handle 64-bit Docker containers, unlike the Pi4. I wanted to keep things smooth and avoid any compatibility headaches, so I stuck with the Pi2 as the manager without loading it up with containers. If you've got more questions or need help on anything else, hit me up!
@jxthursday
@jxthursday Жыл бұрын
@@Techdox Wow, thanks so much for the quick answer! Oh yeah, that makes a lot of sense. I'm playing around with Docker on the Pi2 at the moment and had to recreate some images because of that. So I guess I'll use the Pi2 mainly as manager and Portainer server, and only use it as worker, when I have a 32-bit container. For 64-bit containers, I'll compose them on one of the Pi3s and set deployment constraint to the two Pi3s. Does this sound about right?
@Techdox
@Techdox Жыл бұрын
@@jxthursday yeah, sounds good to me, all just a matter of playing around to see what works :)
@shreeharimarathe6715
@shreeharimarathe6715 Жыл бұрын
Can you run some services like Home assistant or jellyfin in the swarm or a database (no idea if that works/supports) just curious!!
@Techdox
@Techdox Жыл бұрын
You definitely can, then you get the redundancy of one of the nodes (raspberry pi) goes down
@jakke1975
@jakke1975 Жыл бұрын
I've seen the follow-up video about the cluster fs deployment, but I was really hoping to get a bit more (advanced) information about how to operate and manage this cluster. Also, I'm running a cluster on my pi, but have Intel CPUs as workers (arm64 + amd64 mixed architecture). There are many more areas to cover in this area, for example load balancing services on your cluster and automatic service management when workers go down or come up again...
@Trevorquack
@Trevorquack 4 ай бұрын
As much as I loved the video, it would have been better if you could have shown the commands for docker and portainer install, not just the commands that come after. Now that I have it all in though, I need to find how to install mariadb, pihole and fr24.
@Techdox
@Techdox 4 ай бұрын
I tend to not cover content I already have. I have dedicated videos on Docker setup and Portainer. If I covered this for every video it would add an extra 15 mins minimum :)
@siddharthchordiya
@siddharthchordiya Жыл бұрын
Hey Techdox, Thanks for the video it was awesome Needed this for a long time as I was looking for some videos for Cluster on a Raspberry Pi and I think Docker Swarm is a great starting point The Setup was quite easy and simple But now I need to see that how we can deploy apps on it like a Mysql server and how to manage all of that and connect to the different services without making a IP Address Speghetti 😂
@Techdox
@Techdox Жыл бұрын
That’s my next video :)
AI VOICE CHANGER 2024! EASY! [NEW BETTER]
11:24
Voice Changer
Рет қаралды 1,1 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Best Docker Container Server Setup // Docker Swarm, CephFS, and Portainer
23:06
My NEW Kubernetes setup on Raspberry Pi
31:38
Christian Lempa
Рет қаралды 36 М.
Building a 4-node Raspberry Pi Cluster
18:41
Davy Wybiral
Рет қаралды 1,1 МЛН
Fractal's newest PC case is... free? (some assembly required)
28:40
Level 2 Jeff
Рет қаралды 279 М.
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН