Raspberry Pi CM4 Cluster Running Kubernetes - Turing Pi 2

  Рет қаралды 78,702

Michael Klements

Michael Klements

Күн бұрын

In this exciting build, we're going to be assembling a Raspberry Pi cluster running Kubernetes K3S on the new Turing Pi 2. The Turing Pi 2 is the successor to the popular Turing Pi but now runs the newer Raspberry Pi Compute Module 4 and comes with a host of new features and interfaces.
A big thanks to Turing Machines Inc for sending me this beta board to try out and share with you.
ADDITIONAL INFORMATION
---------------------------------------------------
Visit my blog for the written build - www.the-diy-life.com/raspberr...
Official Turing Pi 2 Product Page - bit.ly/3PkJusq
PURCHASE LINKS
---------------------------------------------------
Turing Pi 2 - bit.ly/3PkJusq
4 x Raspberry Pi CM4 Modules - amzn.to/3yl0gl5
4 x Waveshare CM4 Heatsinks - amzn.to/38eXaV5
or 4 x NVIDIA Jetson Nano Modules - bit.ly/3PbfIGg
Sandisk MicroSD Cards (For Nodes without eMMC Storage) - amzn.to/3N2SXSX
PicoPSU ATX Power Supply - amzn.to/3N56TMB
3 x 40mm 5V RGB Fans - amzn.to/3FpKwyN
Power Button - amzn.to/3gbyM6W
M3 Brass Insert Set - amzn.to/3KXnwbg
M3 Nylon Standoff Set - amzn.to/3KVAMxj
M3 Button Head Screw Set - amzn.to/3FsVYJJ
6mm Clear Acrylic - amzn.to/3PhSbDQ
3mm Clear Acrylic - amzn.to/3wdVaUX
Equipment Used:
TS100 Soldering Iron - amzn.to/3IbQxPS
K40 Laser Cutter/Engraver - amzn.to/3KVts5Y
Electric Screwdriver Set - amzn.to/3JvrreR
Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this channel, at no additional cost to you.
CHAPTERS
---------------------------------------------------
0:00 Intro
0:33 First Look At The Turing Pi 2
1:34 Preparing The CM4 Modules
4:13 Power
4:40 Designing & Laser Cutting The Case
6:48 Assembling The Case
8:47 First Boot
11:48 Installing Kubernetes
13:06 Final Thoughts
If you've got any ideas for Raspberry Pi, Arduino, or other Electronics projects or tutorials you'd like to see, let me know in the comments section.

Пікірлер: 99
@NoName-vg1gz
@NoName-vg1gz 2 жыл бұрын
Very well done. Definitely need a follow up video with the integrated PSU and SSD installation.
@everyhandletaken
@everyhandletaken Жыл бұрын
This is so aweseome.. I can't wait for around 2 years from now, when these components are actually released/in stock anywhere :)
@kartof192
@kartof192 10 ай бұрын
Only one year left 🎉
@everyhandletaken
@everyhandletaken 10 ай бұрын
@@kartof192 😂 I can’t believe it has been a year since that comment already, yikes!
@waynesardullo2482
@waynesardullo2482 2 жыл бұрын
This is Great, I've been waiting for something like this for about 6 years.
@MrTartans
@MrTartans 2 жыл бұрын
I love your case design. Thx great content
@frankiev1785
@frankiev1785 2 жыл бұрын
Awesome video can’t wait for my TPi 2!
@wheezybackports6444
@wheezybackports6444 2 жыл бұрын
If someone took the time Plan 9 would be the perfect operating system for this. With the 9P protocol it's possible to network all of the modules together and mount what they each have access to node 1. Node 1 can be used for just interfacing with all of the nodes like one machine.
@rlocone
@rlocone 2 жыл бұрын
Nice job, dude.
@bobgeisel13
@bobgeisel13 2 жыл бұрын
Great video! Good idea about moving to SSDs instead of using SD Cards as you'll get speed and stability.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks Bob, yes that's definitely the long term goal.
@rogerlavoie8452
@rogerlavoie8452 2 жыл бұрын
Loved what you did with the case, although I would make it a little bit longer so the fans don't come into contact with the power cables that are present in the front.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you! Have a look at my #short update, the PicoPSU that I intended using with this case doesn't have the bulky power cable, so it works quite well.
@BowsettesFury
@BowsettesFury Жыл бұрын
Very pretty
@ehomurilove
@ehomurilove 2 жыл бұрын
Awesome video man
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you!
@wojwoj06
@wojwoj06 2 жыл бұрын
Nice project. It would be interesting to see what you use the cluster for.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
The apps I mention in the video are running on it at the moment. I'm looking at improving my home network now that the cluster is available, so I'll be changing/adding to these over the next few weeks.
@beauregardslim1914
@beauregardslim1914 2 жыл бұрын
Nice work. Yeah, Pis are so scarce that I've started pulling Zero Ws out of old projects.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yeah it's frustrating having to take other projects apart to work on new ones. Two of these Pi's were in use on other systems and had to be salvaged to complete the cluster.
@k.c.sunshine1934
@k.c.sunshine1934 2 жыл бұрын
You made a very appealing case! It must have cost a few $$$. I like!
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you! Acrylic is actually quite cheap so this didn't cost much to make.
@stevEN-es7pd
@stevEN-es7pd Жыл бұрын
this is so cool
@user-zc7fr2jk1z
@user-zc7fr2jk1z Жыл бұрын
I think I just found my next raspberry pi project!
@MichaelKlements
@MichaelKlements Жыл бұрын
A Kubernetes cluster on a Turing Pi 2 is a great project to tackle.
@golosfardyrekr5408
@golosfardyrekr5408 2 жыл бұрын
Woooooww Nice Case! I'm still new to Raspberry Pi and still haven't understand the idea of clusters. I might have to search the Internet and read about it! But the case is nice and I will have to ask my Laser Cutter in Denmark to change my order to clear Acrylic on the Case I ordered. Looking forward to see the final result with PSU and SSD HD. (And maybe some LED RGB Strips around the case) :-D
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thank you! There are quite a few good videos on your KZbin that explain what a cluster is and what they can be used for. That's great, hope it comes out well!
@jasonvaldez6349
@jasonvaldez6349 Жыл бұрын
Splendid design, my friend. However, I would like to see future designs include an LED display that would help provide data info for each cluster, that would make this perfect, IMO.
@MichaelKlements
@MichaelKlements Жыл бұрын
That would be great, unfortunately the Turing Pi 2 doesn't breakout the GPIO pins on all four nodes so you can only drive an OLED display directly from a single node. You may be able to push the information from the others over the network though.
@blackmennewstyle
@blackmennewstyle 2 жыл бұрын
Is the battery on the motherboard not required? Amazing project as always, you almost got me when you were looking for a new case for your little cluster. I was like, what are you doing Michael, just use your amazing laser Cutter/Engraver :D Have a great week and keep it up the great job
@MichaelKlements
@MichaelKlements 2 жыл бұрын
I'm not entirely sure what it is there for, it's likely for the RTC on the management controller, but doesn't seem to be required. Thank for the great feedback! Have a great week too.
@andyhack453
@andyhack453 11 ай бұрын
Good Video. it is helpful
@richards7909
@richards7909 2 жыл бұрын
If you ever give each node a unique name (eg Dave, Lister, Kryten, Cat), you should etch that into the case over the pi it represents :)
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Haha, that's quite a good idea. Even just engraving the IP address of each onto the case would be useful.
@pmiron
@pmiron 4 ай бұрын
Can I request an acrylic case? :D Nice clean setup!
@uxsoft
@uxsoft Жыл бұрын
Well done, now I need to buy the laser cutter and some pi compute modules are nowhere to be found
@MichaelKlements
@MichaelKlements Жыл бұрын
Yeah they've been quite scarce for the past two years. If you keep an eye on rpilocator they pop up occasionally.
@the-real-random-person
@the-real-random-person Жыл бұрын
Awesome! Possible to buy that case?
@christophercollins4548
@christophercollins4548 2 жыл бұрын
Amazing! Just trying to imagine that case in a blackish acrylic and how the lights would look. Are the cutting files available for download?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
That would look great, I've got some dark grey tinted acrylic that I could try with this design!
@bassjunkz395
@bassjunkz395 Жыл бұрын
id love to see a gaming Pi. if thats possible ofcource.
@Redsmeg68
@Redsmeg68 6 ай бұрын
Awesome, I'm doing similar things I did a 3D print of a case. Do you have any videos of the software setup
@MichaelKlements
@MichaelKlements 6 ай бұрын
Network Chuck has a pretty good video on setting up a Kubernetes cluster on Raspberry Pis. It's not done on the Turning Pi board but the process is the same.
@JSBroadcast
@JSBroadcast 2 жыл бұрын
Hi Michael. I never used 3D printers and I'd love to get some and learn to cut stuff like you did here, but more importantly, learn how to measure and draw stuff in the software you are using. Could you give me some guidance where to start and tell me about how you manage to learn it?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks for the suggestion, I'll look at putting together a more design focused video!
@JSBroadcast
@JSBroadcast 2 жыл бұрын
​@@MichaelKlements Thanks, Michael. Many of us envy your projects in a way and many, including myself, I'm sure, would be delighted to follow your path and make some of those cool things. So such a video would be superb :-). An idea: * A solid 3D Printer * A solid laser cutter * Which software do you use, how do you measure and draw, etc * Where do you get your components and accessories, e.g. screws, acrylic, plywood etc * Anything else Cheers
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yeah like a workflow how to guide, I'll definitely look at putting something like that together. I've got a few "go to" pieces of equipment and software packages that I'm sure others could benefit from as well.
@anandmoon5701
@anandmoon5701 Жыл бұрын
From where can I buy or download the files to make my own Turing pi 2 case.
@shALKE
@shALKE Жыл бұрын
Is there any way to 3d print the case?
@StuBoyUK
@StuBoyUK Ай бұрын
Epic video. How did you start with this project i.e. ebooks?
@MichaelKlements
@MichaelKlements Ай бұрын
Mostly trial and error and a lot of Googling
@mondoman712
@mondoman712 2 жыл бұрын
I'm very curious to know if the pico psu actually turns out to be more efficient
@MichaelKlements
@MichaelKlements 2 жыл бұрын
I'll post a follow-up video on it in a week or two.
@Osmanity
@Osmanity 2 жыл бұрын
Can you make application software video using kubernatis
@DeadlyDragon_
@DeadlyDragon_ 2 жыл бұрын
I like the iron and drill you used in this video do you have links to them?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
They're linked in the video description
@ulrichkalber9039
@ulrichkalber9039 2 жыл бұрын
I know little about Pis, you name a few programs you run on this cluster, but what do they do? i could imagine this to be a server for all sort of things, including a Fileserver/NAS running on the drives you mention, a switch to connect your workmachine/PC to the internet/other PCs a watchdog in your Network(thats what Pihole does is it not?) but what else?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
What you've described is pretty much what this cluster will be doing. Home assistant manages home automation and smart devices on the network and Pi-hole is a network wide ad blocker
@RunicGamingYT
@RunicGamingYT 2 жыл бұрын
Would love to see the sata drive version. So are you going to release the laser cut files like you did with some other projects? Would be cool if you can add a status oled panel to show stats of each CM4 in rotation such as CPU load, ram is use, and drive space. Great video, thanks again for sharing.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yes, I'll do that once I've tried the design out with the Pico PSU. At this stage the GPIO pins are not available to the CM4 modules. As soon as the firmware is updated to include this functionality then I'll look at adding an OLED display to it.
@RunicGamingYT
@RunicGamingYT 2 жыл бұрын
@@MichaelKlements awesome, very much looking forward to it. Thank you again.
@daniellower72
@daniellower72 2 жыл бұрын
@@MichaelKlements Great that will be a nice final touch. Like your work I've subscribed to keep an eye out for the final version. I guess if you can add a speed controller to those fans that will keep the noise down too.
@-Tholos-
@-Tholos- 2 жыл бұрын
Would have been nice if they added an M.2 slot either as shared or one for each module.
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Yeah a shared one would have been a nice addition, they do have mini PCIe ports that could be used with an adaptor.
@shaileshmoolya6081
@shaileshmoolya6081 Жыл бұрын
Nice Setup. off topic, which screwdriver are you using, the battery operated one ?
@MichaelKlements
@MichaelKlements Жыл бұрын
The exact one I'm using isn't available anymore, but this is very similar - amzn.to/3aOeDVa
@brandonbarr2784
@brandonbarr2784 Жыл бұрын
Will it run arm ESXi?
@tylerdean980
@tylerdean980 2 ай бұрын
Can you use any of the RISC-V compute modules to do this?
@MichaelKlements
@MichaelKlements 2 ай бұрын
The Turing Pi board just interfaces with the SOM's with a SODIMM-style edge connector so provided you can find a RISC-V based module that follows the same generic pinout then it should work.
@Minopausa92
@Minopausa92 10 ай бұрын
Someone asked before me but i try again..is there a way to buy the case? Both this and the grey one are dope!
@MichaelKlements
@MichaelKlements 10 ай бұрын
Send me a message through my Etsy store, I can make one up for you - www.etsy.com/au/shop/TheDIYLifeCo
@ISeeDeadGamers
@ISeeDeadGamers 8 ай бұрын
will it mine verus coin?
@randy3877
@randy3877 6 ай бұрын
No exhaust fan
@carlosfi
@carlosfi Жыл бұрын
I want to put a drum in a certain ti but it automatically goes to the grid. in your video does not happen
@Tehmaxice
@Tehmaxice Жыл бұрын
Any chance of sharing the CAD file for the acryllic case?
@Tehmaxice
@Tehmaxice Жыл бұрын
It looks great btw!
@MichaelKlements
@MichaelKlements Жыл бұрын
Hi Hilmar, Please send me a message through my Etsy store and I'll be able to help you out. www.etsy.com/au/shop/TheDIYLifeCo
@Andercreeper_live
@Andercreeper_live 11 ай бұрын
How can i set up Pihole and so on it?
@MichaelKlements
@MichaelKlements 11 ай бұрын
Each Pi runs as a standalone Pi so you can install Pihole on one Pi directly or you could install Kubernetes and deploy Pihole as a service on the cluster.
@ronan4681
@ronan4681 2 жыл бұрын
One question …. Where do you buy CM4 modules from …. Very hard to get here in Australia
@ronan4681
@ronan4681 2 жыл бұрын
Ahh… question answered a few minutes on
@MichaelKlements
@MichaelKlements 2 жыл бұрын
I buy most of my Raspberry Pis from Core Electronics or Seeed Studio, but bought them a few years ago
@ronan4681
@ronan4681 2 жыл бұрын
@@MichaelKlements … seeed studio has none, I got one of Core Electronics last week , but only the ad model. Spent months developing a product for clients last year based on CM4 but couldn’t deliver because they became impossible to get. Same with the coral tpu…seems only big companies can get them
@pabloqp7929
@pabloqp7929 Жыл бұрын
gosh that was cooleo
@justinepacia4997
@justinepacia4997 Жыл бұрын
not wNice tutorialle quarantine but how r u doing is that hard ?
@Osmanity
@Osmanity 2 жыл бұрын
Can you please make more software related videos with turning pi 2, because everyone in youtube just shows 90% hardware and the small rest of software…
@MichaelKlements
@MichaelKlements 2 жыл бұрын
Thanks for the suggestion. It's probably because there is so much that can be done and it really depends on what you'd like to see it be used for. I'll definitely look at putting together a video on the software side.
@Osmanity
@Osmanity 2 жыл бұрын
@@MichaelKlements Thank you, love your videos!❤
@DomPedroSilva
@DomPedroSilva 2 жыл бұрын
Is possible to use a GPU with that board?
@MichaelKlements
@MichaelKlements 2 жыл бұрын
The hardware would support a GPU but the Pi's software still doesn't allow for the use of a GPU - hopefully one day in the future.
@brianwest7344
@brianwest7344 2 жыл бұрын
Whats the use of this? over say AMD/Intel . Cheaper, less power? Would be nice to have some idea of why you want to do this.
@elmakcnc5960
@elmakcnc5960 2 жыл бұрын
50 years ago star wars film makers connected over 20 computers to do amazing grafics for amazing movie ,now peoples connecting raspberry pi together via ready to use softwares and computer is doing nothig ,still is working like one .When we see some amazing IT engineering base on raspberry pi ??
@MichaelKlements
@MichaelKlements 2 жыл бұрын
There's a really wide range of software that can be run on a Raspberry Pi cluster for distributed computing, simulations, mathematical modelling, networking etc.
@dmckrk
@dmckrk Жыл бұрын
Do You still run this? is it a part of prev cluster or independant one? Looks great and and sure it's compact, but You missed some details about price, which is just high. Of course You can say that the whole idea for such cluster is based on it's size, but I think You can get better (and cheaper) results with regular pi and POE way. For me there are two main disadvantages of this board - first it uses fixed IO for each board so You can't do 4xHDMI or anything else - You will get only those assigned for each slot, wasting power You need. Secondly they reduced number of CM modules from first version so it's not that attractive for now. Manufacturer also announce RK1 modules based on RK3588 (of course with max 32GB, which nobody yet offers). I hope there will be some video about such cluster build and how it performs with built in nvme, most rk3588 boards already have 2.5Gbit ethernet which this one will lose.
@MichaelKlements
@MichaelKlements Жыл бұрын
Yes, it is still running as an independent cluster. It is quite expensive and you could probably build a better custom solution to suit your own needs, but this is a convenient package for those not wanting to have to worry about an additional switch, network cables, power supply, power cables etc. You're also limited to the IO they've provided as you've said, but I think this is a fair spread of IO to cover most use cases that people would have - most clusters don't need 4 x HDMI outputs, most don't even use one HDMI output as they're generally interacted with over the network.
@vaporjoes
@vaporjoes Жыл бұрын
looks great but a new cellphone has more power then that whole rig. I dont understand why they arent selling SBC's with snapdragon chips.
@JureS
@JureS 2 жыл бұрын
such a shame the most important parts are 'currently unavailable'. No Turing Pi 2, No CM 4 modules... This eternal waiting for the essential parts is really starting to drag ...
@user-id2js7st8z
@user-id2js7st8z 4 ай бұрын
good for mining PRIZM!
@davidstephen7070
@davidstephen7070 2 жыл бұрын
do benchmark, it doesnt show anything usefull.
6-in-1: Build a 6-node Ceph cluster on this Mini ITX Motherboard
13:03
I Built A 4-Bay NAS Using A Raspberry Pi 5
12:24
Michael Klements
Рет қаралды 275 М.
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 40 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 58 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 11 МЛН
The Petabyte Pi Project
22:27
Jeff Geerling
Рет қаралды 2,2 МЛН
Raspberry Pi Blade crams 64 ARM cores and NVMe in 1U!
8:38
Jeff Geerling
Рет қаралды 849 М.
Taking my Raspberry Pi Supercomputer off-grid
17:21
Jeff Geerling
Рет қаралды 187 М.
Build A Raspberry Pi NAS For $35 Using All New Parts
11:24
Michael Klements
Рет қаралды 663 М.
Battle of the Zeros
19:44
Maker by Mistake
Рет қаралды 53 М.
It's Clusterin' Time!
1:53:42
Jeff Geerling
Рет қаралды 161 М.
Is The New Orange Pi 5 Pro A Good Raspberry Pi 5 Alternative?
11:34
Michael Klements
Рет қаралды 43 М.
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 10 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 454 М.
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 1,7 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18