i built a Raspberry Pi SUPER COMPUTER!! // ft. Kubernetes (k3s cluster w/ Rancher)

Поділитися
Вставка
  • Опубліковано 31 тра 2024
  • ENTER TO WIN a custom Raspberry Pi (pre-built with K3s): bit.ly/2VHhfwt
    Learn more about SUSE Rancher: bit.ly/3rb8Ih0
    Need help with Kubernetes?? (i did) Ask Boxboat for help: bit.ly/3izncVB
    🔎🔎the WALKTHROUGH: bit.ly/3xIkQbV
    I built a Raspberry Pi SUPER COMPUTER using Kubernetes (k3s) and Rancher. This project was insanely fun and I want YOU to do it. Why? You will learn about clustering, Kubernetes, k3s and so much more. Basically, these are skills you can take with you into the enterprise.
    my Interview with Boxboat: • why IoT needs Kubernet...
    my Interview with Rancher: • what is K3S? (Kubernetes)
    Get a Raspberry Pi: geni.us/aBeqAL (affiliate)
    Build a CLUSTER:
    ---------------------------------------------------
    4 Pi Cluster: geni.us/pbB8 (affiliate)
    8 Pi Cluster: geni.us/v0Jt5 (affiliate)
    Network Switch: geni.us/rLQE (affiliate)
    USB Power Hub: geni.us/TfeK (affiliate)
    🔥🔥Join the NetworkChuck membership: bit.ly/3riRhek
    SUPPORT NETWORKCHUCK
    ---------------------------------------------------
    ➡️NetworkChuck membership: bit.ly/3riRhek
    ☕☕ COFFEE and MERCH: NetworkChuck.coffee
    Check out my new channel, bit.ly/nc_clips
    🆘🆘NEED HELP?? Join the Discord Server: / discord
    STUDY WITH ME on Twitch: bit.ly/nc_twitch
    READY TO LEARN??
    ---------------------------------------------------
    -Learn Python: bit.ly/3rzZjzz
    -Get your CCNA: bit.ly/nc-ccna
    FOLLOW ME EVERYWHERE
    ---------------------------------------------------
    Instagram: / networkchuck
    Twitter: / networkchuck
    Facebook: / networkchuck
    Join the Discord server: bit.ly/nc-discord
    0:00 ⏩ Intro
    2:38 ⏩ What do you need?
    3:44 ⏩ What is a cluster? And WHY???
    5:56 ⏩ What is Kubernetes?
    6:16 ⏩ What is a container??
    9:08 ⏩ K3s (what is that??)
    11:53 ⏩ STEP 1: Raspberry Pi Headless Prep
    19:07 ⏩ STEP 2: K3s prep
    20:43 ⏩ STEP 3: K3s Install (master setup)
    23:12 ⏩ STEP 4: K3s Install (node setup)
    26:32 ⏩ STEP 5: Rancher Install (optional)
    33:51 ⏩ STEP 6: Deploy your 1st APP in K3s!!!
    39:31 ⏩ STEP 7: EXPOSE your app with a Node Port
    44:35 ⏩ What about LOAD Balancing?!?!?!?! (Let’s visualize it)
    50:59 ⏩ Kubernetes Ingresseseseses (DNS Load Balancing)
    54:14 ⏩ Install Minecraft using a Helm Chart
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    (GEAR I USE...STUFF I RECOMMEND)
    My network gear: geni.us/L6wyIUj
    Amazon Affiliate Store: www.amazon.com/shop/networkchuck
    Buy a Raspberry Pi: geni.us/aBeqAL
    #kubernetes #raspberrypi #rancher
  • Наука та технологія

КОМЕНТАРІ • 2,8 тис.

  • @NetworkChuck
    @NetworkChuck  2 роки тому +189

    ENTER TO WIN a custom Raspberry Pi (pre-built with K3s): bit.ly/2VHhfwt
    Learn more about SUSE Rancher: bit.ly/3rb8Ih0
    Need help with Kubernetes?? (i did) Ask Boxboat for help: bit.ly/3izncVB
    🔎🔎Links and Guide: bit.ly/3xIkQbV
    I built a Raspberry Pi SUPER COMPUTER using Kubernetes (k3s) and Rancher. This project was insanely fun and I want YOU to do it. Why? You will learn about clustering, Kubernetes, k3s and so much more. Basically, these are skills you can take with you into the enterprise.
    Get a Raspberry Pi: geni.us/aBeqAL

    • @ahoj113
      @ahoj113 2 роки тому +2

      Hi

    • @alexakon9232
      @alexakon9232 2 роки тому

      Thank you

    • @rationalbushcraft
      @rationalbushcraft 2 роки тому

      What do you use to do the screen annotation?

    • @camplays487
      @camplays487 2 роки тому

      Could you do that with an esp8266 or esp32 and do RTOS containers?

    • @Rain-ks4or
      @Rain-ks4or 2 роки тому

      Good evening sir from the Philippines. I'm your follower on UA-cam and i badly need help 🙏 my girlfriend break up my relationship with her because of unknown reason. She changed her password on Facebook so that I can't see what she's doing or chatting with someone. I still have her Google Account connected to Facebook and i used it to log in but but i can't still log in because she used Code Generator so that i can't access her account to find evidence that she really cheated on me. Please sir 🥺🙏 I'm really depressed right now because i really love her more than my life but she broked up with me. I hope you can help me with my problem sir because i don't know what to do, I don't know what's the real reason of everything. Please help me, help me sir🙏 Please notice me sir 🙏 You're the only guy that i trust with this kind of problems. God bless you always and keep safe

  • @JeffGeerling
    @JeffGeerling 2 роки тому +600

    0:28 - Needs more Pi!

    • @ahoj113
      @ahoj113 2 роки тому +7

      Hi Jeff

    • @Jeff-sr6fx
      @Jeff-sr6fx 2 роки тому +7

      me nemmeh jeff :D

    • @Jimmy_Jones
      @Jimmy_Jones 2 роки тому +1

      I loved your series. Buy sadly I found this simpler to understand with the networking. I do like your in depth explanation of how it works though.

    • @JeffGeerling
      @JeffGeerling 2 роки тому +22

      @@Jimmy_Jones This video's like the 1-hour crash course. I love seeing more good guides to getting started in K3s/K8s on UA-cam. Plus, can't knock running it on Pis!

    • @yoho403
      @yoho403 2 роки тому

      Eyyy its jeff

  • @gioriv
    @gioriv 2 роки тому +789

    I'm 100% sure I don't need it, but now I just want to build it. JUST BECAUSE. Great stuff, I'm just blown away by your skills to teach in a very fun way. Not to mention the amount of work to put this together in your head to then shoot and edit... JUST WOW!!!!

    • @MrNightowl1980
      @MrNightowl1980 2 роки тому +18

      I agree that he is a master in teaching in a fun way. And it has to be fun to remember it better for me. 🙏🏾

    • @larrywestfall7992
      @larrywestfall7992 2 роки тому +8

      Put pihole in it.

    • @diegoneves6469
      @diegoneves6469 2 роки тому +6

      I thought the same thing! Are we need it... no. But It will be really fun do that so let's go!

    • @valzzu
      @valzzu 2 роки тому +4

      Same here, i already have one pi🤣

    • @gioriv
      @gioriv 2 роки тому +2

      @@valzzu Lol 😂 I already have 3 I did went a different route though.

  • @awuwish1
    @awuwish1 2 роки тому +119

    Pro-tip: You can enable SSH before imaging the Pi by hitting CTRL+Shift+X with the Pi Imager focused which will bring up a hidden menu.

    • @majorgear1021
      @majorgear1021 Рік тому +13

      Enabling ssh is actually an option in the Pi imager application. You can enter the ssh key for password-less login and even replace the pi user with another username.

    • @fakecubed
      @fakecubed 6 місяців тому +7

      They've changed the imager a couple times since this video got made. The new way it works almost guarantees you won't mess it up and miss out on all the advanced options, ssh included. It will throw a pop-up at you and give you ample opportunity to make sure the settings are right and that you want to use them for your new image.

    • @danieljuno810
      @danieljuno810 3 місяці тому

      Using these options in Pi Imager will save you tons of time

  • @creator8304
    @creator8304 Рік тому +28

    If anyone is having issues when imaging the pi and logging in with SSH. Here is why. There is no longer a default user with a default password, you have to make one when first writing the image on the micro SD or on command line. It is easier to set one up by going to the settings before writing

  • @chilson88
    @chilson88 2 роки тому +47

    That fact I sat here and watched this video knowing absolutely nothing about this, just shows that your energy and knowledge about this kept me here. This makes me want to buy on and go full send.

    • @jesseraymond423
      @jesseraymond423 2 роки тому +1

      the wheels, oh the wheels that spin in our minds... I think some people have round ones, some have square wheels

  • @NickMiethe
    @NickMiethe 2 роки тому +20

    Thanks for the callouts Chuck, It was an absolute pleasure working with you on getting Rancher going and dealing with some of the wonderful quirks! I knew it'd be fun to work with a UA-camr, but you should've seen my face when I double-taked on the email on just WHO I was helping! ;)

  • @danielhimes9068
    @danielhimes9068 4 місяці тому +23

    Your walkthrough page isn't there anymore

    • @chase11119
      @chase11119 28 днів тому

      Trying to figureout what I need to paste

  • @mitchellmnr
    @mitchellmnr 2 роки тому +81

    One thing you forgot to mention... quite a big reason to go cluster anything (apart from the load balancing) is the auto healing ability.
    If you unplugged the PI that was running the minecraft server as it stands, it would automatically spin up another instance on another PI.
    Another thing to note when dealing with anything cluster is persistent storage.
    As it current stands, if that minecraft server were to move to another node, you'd lose your saved data.
    Maybe make a persistent data video to accompany this one

    • @akhilleusuggo
      @akhilleusuggo Рік тому

      @Jay Dee because it only had the image. If you ever used containers, they have images, volumes, and persistent data. Images can be changed, updates etc; persistent data can be exposed from host to guest (containers). Persistent data or storage, can also be accessed by multiples containers at the same time.
      Edit:
      It's called persistent data, because data doesn't get lost after reboot or the container. Images on the other hand, if changed, they lose the changes after reboot. They are meant not to be changed.

    • @rushic24
      @rushic24 Рік тому

      btw can you share something on how to add this persistent data?

    • @apolloeosphoros4345
      @apolloeosphoros4345 8 місяців тому

      Yep... PersistentVolumes, PVCs, etc - the final boss of k8s. How to do it right in a self hosted cluster? I'm still trying to figure that part out

    • @franklee663
      @franklee663 4 місяці тому +1

      However for persistent data to work on clusters, that app must be built based on 3-tier design. Otherwise it will just lock or kill each other out. Not all apps can be load balanced.

  • @lumikkode
    @lumikkode 2 роки тому +35

    tiny tip, to start and enable on start with systemd you can use "enable --now" it will start it as the extra arg --now is provided!

  • @johnarrington6292
    @johnarrington6292 2 роки тому +12

    That was a a splendid intro tutorial. Your hypercaffeinated schtick was kinda bugging me until I realized how almost necessary it is for presenting this stuff in a timely way. Kubernetes is no longer a mystery to me and I thank you!

  • @JSBroadcast
    @JSBroadcast 2 роки тому +15

    I'm setting up a bare metal server in my remote office and this video was the best thing that could have happened to me. Thanks a lot man, you are seriously fun to watch. Cheers

  • @alphenit
    @alphenit 2 роки тому +48

    We definitely need more of this especially things like connecting a cluster safely to the internet will increase the usage possibilities ten-fold. Thank you for making this!

  • @ArthurRamosSchaefer
    @ArthurRamosSchaefer 2 роки тому +14

    Man, this video might have taken more than 80 hours of researching, deploying, testing, scripting, recording, editing, reviewing, copywriting and publishing.
    Thank you for that! I'm really glad to have discovered this channel while browsing on the Internet!
    New subscriber from Brazil!

  • @hfw3
    @hfw3 2 роки тому +64

    This is an awesome video! Unfortunately, it no longer works if you follow along. K3S has now progressed up to version v1.22.5. Rancher does not support version 1.22.5 and you end up stuck at the "Waiting for API to be available" message. No big deal - the kubectl/CLI parts still work great!

    • @donfunction
      @donfunction 2 роки тому +6

      Wish I read this before getting started 😂 Oh well - 3 Pi’s so far though!

    • @walideshtiwi6303
      @walideshtiwi6303 2 роки тому

      how can i manage k3s cluster then is there other way like rancher or should I use lens

    • @rowler952
      @rowler952 Рік тому +1

      @@lt.kraken I can't send you a dm can you create a gist to share it.

    • @bnicholas89
      @bnicholas89 Рік тому +1

      @@lt.kraken I’m interested in what you found to get this working.

    • @seebeedee
      @seebeedee 2 місяці тому

      On install you can pick the lower package installer.
      Some -command -version, etc

  • @qwarlockz8017
    @qwarlockz8017 2 роки тому +9

    WOW! That was BRILLIANT! I have chewed around the edges of Kubernets for a while. I have read a bunch and done a few tiny bits. But, this was the perfect balance of completeness and stripped down to make it VERY understandable and create a structure on which we can hang more detail. Brilliant!

  • @3kodokushi
    @3kodokushi 11 місяців тому +7

    i had big problems because of the 404 error in your documentation.
    but i think the right commands for minute 19:00 are:
    $ sudo iptables -F
    $ sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
    $ sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
    $ sudo reboot

  • @frederikmoller9315
    @frederikmoller9315 2 роки тому +38

    Thank you so much Chuck! I can't stress enough how difficult it is to go and research, and figure this out yourself. Thanks for taking the time to make it easy.

  • @pindajatt730
    @pindajatt730 2 роки тому +64

    Managing multiple K8s clusters is my day job, so I can appreciate the amount of work and effort that went into this, nice one. P.s, I use k3s alongside k8s at work to test stuff without having to deploy k8s from scratch, the manifests are generally 100% compatible

  • @nottsure5160
    @nottsure5160 2 роки тому +1

    I love your videos. I’ve been having so much trouble getting my cluster set up so this will definitely help. I’ve spent many nights digging and making no progress. I also love how hemmed up on coffee you are. It is essential.

  • @georgetaylor8535
    @georgetaylor8535 2 роки тому +5

    Bro you put in a lot of high end work in these videos on top of all the knowledge that im sure at times been painstaking in aquasition behind the scenes. Your straight up a pro and i appreciate you sharing this knowledge with all who seek it.

  • @deepwoodsengineering3763
    @deepwoodsengineering3763 2 роки тому +320

    Why did I just assume his office was in the basement and not upstairs?

    • @timbro1
      @timbro1 2 роки тому +51

      Because it would make sense to have a bunch of heat generating devices in the basement.

    • @FaithsVessel
      @FaithsVessel 2 роки тому +15

      IDK, bcuz it looks like a full blown man cave!

    • @jelliott8424
      @jelliott8424 2 роки тому +3

      It's the gamer beard and haircut

    • @IGamingStation
      @IGamingStation 2 роки тому +3

      @@jelliott8424 Neckbeard syndrome, happens to the best of us.

    • @JJW-fg1zp
      @JJW-fg1zp 2 роки тому +1

      Light levels?

  • @leejordanful
    @leejordanful 2 роки тому +11

    Thanks Chuck! I will never do this but I have just spent a happy hour watching you do it. I can't imagine how long it took you to prepare for this video, so thanks for that.

  • @David.Saraiva
    @David.Saraiva 2 роки тому +1

    I just wanted to say that I love your energy in the videos and the genuine excitement that you bring. Loved the video and I would really enjoy if you continued to pursue raspberry and k3s in future videos. Keep the coffee coming.
    Greetings from Portugal

  • @IngVasiu
    @IngVasiu 9 місяців тому

    This was actually a pretty good lecture for me starting a new job as an automation engineer working with industrial digitalization. Edge devices are almost found in every new machine nowadays and we use K3S to integrate and manage those devices (working nodes).

  • @codeman99-dev
    @codeman99-dev 2 роки тому +90

    19:53 Do NOT repeat the original direction 7 more times. Create an image of the first machine. Write the image to the other sd cards. Now you just need to manage the IP and hostname.

    • @joe_ferreira
      @joe_ferreira 2 роки тому +13

      If inclined one could also set them all up to pxe boot and store the images on the pxe server. 👍

    • @SumanRoy.official
      @SumanRoy.official 2 роки тому +8

      I was looking for this comment, I knew that if there n times nodes on the network, it will take n times to get it setup and I am like whaaat? why is he doing it, there should be better way. Then I found your comment along with another guy mentioning pxe server which I never thought it exsited.

    • @alwayscensored6871
      @alwayscensored6871 2 роки тому +4

      @@SumanRoy.official Network booting a Pi cluster. Hmm short video?

    • @brandonconway5286
      @brandonconway5286 2 роки тому

      @99codemister Where would one manage the IP and hostname? Are you saying you would log into each pi and change the hostname/IP of the device?

    • @codeman99-dev
      @codeman99-dev 2 роки тому +1

      @@brandonconway5286 Same as the video, 14:30.
      The custom image saves the step just before this. He had to cold boot every single SD card *before* editing this file.
      I'm suggesting instead that you make one SD exactly as he did. Then make a backup image. Burn that backup to the other cards. Then edit the file. Then boot the pi machine.
      So instead of n * 2 booting sequences, you deal with n + 1 booting sequences.

  • @Devillman90
    @Devillman90 2 роки тому +13

    Man I absolutely love the enthusiasm you have and the way you're teaching us. I am a frontend developer but i never skip a video from you, and i try almost everything you show us. I know that its just scratching the surface, but its crazy indeed how "easy" it becomes to manage your own bare metal server and have a cloud grade technology at the tip of your fingers. I will try that for sure once I buy 2-3 more raspberries cause the 5 i have are already full with web-servers, plex server, pi-hole, docker with (Portainer), NAS(OMV) and god knows what more :D. Thank you once again for showing us those great nerdy stuff and making them easier for us to assimilate as i know the Hussle of learning those stuff on your own just by using the documentation and the "try-error" pattern until you figure it out, but the feeling once you wrap your mind around it is great!.

  • @johndoggett4657
    @johndoggett4657 Рік тому +4

    Just started learning K8 for me job. After seeing what you built in this video i would like to build my own cluster at home. Thanks for the awesome video Chuck.

  • @ikerstges
    @ikerstges 2 роки тому +8

    Great stuff, thank you, you managed to FINALLY open up my basic understanding of k3s! I'd LOVE to see a 2nd part where you maybe show how outages affect the cluster (pull the power off one of those raspi's) and which steps are involved to add additional servers to an existing and running k3s cluster (where the workers will automagically join the load).. Hope to see more of this on your channel!

  • @marishellcastillo2045
    @marishellcastillo2045 2 роки тому +28

    I am so glad I finally set some time aside to watch this!!! Super excited to try this as my next project! You made learning this super easy to follow. Thank you!!!!

  • @cygnus2005
    @cygnus2005 2 роки тому +146

    Life Goal : want a slide on top of stair

    • @NetworkChuck
      @NetworkChuck  2 роки тому +31

      It's pretty cool!

    • @morosis82
      @morosis82 2 роки тому +3

      My work has a slide between LVL 14-12.

    • @sujeewarathnaweera
      @sujeewarathnaweera 2 роки тому +1

      @@NetworkChuck Hey, it would be the wrong place for as: what is the latest or newest supported version for windows 7?

    • @way2virgo
      @way2virgo 2 роки тому +2

      I'll invent stair slide pants...
      It isn't a thing....
      Yet

    • @orbyfied
      @orbyfied 2 роки тому +2

      my school has a slide from the 2nd floor down to base

  • @philh98
    @philh98 2 роки тому

    This is my first time watching your content and I have got to say you explain yourself very well. Thank you for making easy to follow and understand videos

  • @anthonytidey2005
    @anthonytidey2005 Рік тому +1

    Great, it reminds me of my early days in electronics, the introduction early days and the first microcontroller, Intel 4004.
    A bunch of us used it for controlling a vacuum messaging system around London airport, between the customs office and the individual freight hubs, BEA, BOAC, PanAm etc.
    We didn't have all the software and other gismos you have today, just teletypes for programming on paper tape?
    Your enthusiasm was similar to ours at the time, but we had at least ten teletypes, going off like a Gatling gun, making concentration difficult.
    You'd make a great enthusiastic educator, I've learnt a lot from you, Jeff and other engineers on UA-cam.
    I'm old but still learning.
    Thank you all and UA-cam

  • @derekgoodwine7509
    @derekgoodwine7509 2 роки тому +12

    This is the network chuck video of the year! Informative, educative, and damn cool! Keep it up Sir!

  • @connorc1760
    @connorc1760 2 роки тому +3

    Thanks for continuing to make some awesome IT content! I always get excited when i get the notification that you've dropped a new video.

  • @steinerdaniel1992
    @steinerdaniel1992 Рік тому

    Thanks for that video, I‘ve recently been struggling to deploy a k3s cluster and this video will surely help me out. Been watching while i was working on a different project & will follow along later today when I‘m trying to redo my k3s cluster.

  • @mikeelmasry
    @mikeelmasry 2 роки тому +2

    Yes to continuing this series and a video on exposing the cluster to the internet or any other cool things that you can do with the cluster.

  • @AhmedSalah-xm9xu
    @AhmedSalah-xm9xu 2 роки тому +19

    Love how much effort you put into your videos. I was always thinking about setting up my own cluster and now you got me to do it.

  • @nyanates
    @nyanates 2 роки тому +20

    I just finished building this 8x rPi cluster using the same kit with the exception of the use of PoE hats to reduce desk clutter - a really great learning experience. I was dropped into the Minecraft server at night and was immediately blown up by an attacking creeper. 😊
    Keep in mind that both Rancher and Ubuntu have versioned. Rancher no longer includes the experimental RancherD in its distribution. Pull down the the original versions mentioned in this tutorial and you'll be fine.

    • @majorgear1021
      @majorgear1021 Рік тому +1

      Where in the world did you find a place to buy 8 rpi's ? Every store that I checked is OOS , so scalpers are the only option.

    • @zahidkamil7833
      @zahidkamil7833 Рік тому

      Hey I tried installing rancher from other websites but I am unable to enable rancher. I went through their website and did the whole thing of enabling docker and then installing rancher. Do you happen to have a breakdown of steps of how you installed rancher on your ubuntu VM?

    • @123ftw1
      @123ftw1 10 місяців тому

      ​@@majorgear1021They started restocking them a few weeks ago in UK, maybe in US as well. Soon :)

    • @majorgear1021
      @majorgear1021 10 місяців тому

      @@123ftw1 Maybe! I did manage to get 3 rpi 4’s, but I’ve given them different tasks and set up my cluster on ubuntu virtual machines on a PC hypervisor.

    • @kearneyIT
      @kearneyIT 10 місяців тому

      I have 10 8GB RPi 4s and i bought them before covid but never used them at all. I am now doing this rancher, ansible, containers, k3s lot n lots n lots

  • @DoodlyDoo59210
    @DoodlyDoo59210 2 роки тому

    I love how clean and energetic you are. You're a great dad and a humble person. Keep it up. ✝

  • @afk4lfe822
    @afk4lfe822 2 роки тому

    I'm in the IT industry with a focus on PC hardware and software and I've seen a couple videos of his, all of it seems right so far. Plus, he's got a nice light conversational flow. 👍

  • @justpear9254
    @justpear9254 2 роки тому +66

    0:14 sliding in his DM's for a free pi be like

  • @MrOuafine
    @MrOuafine 2 роки тому +10

    Exposing it to internet would be such an amazing PART 2 !
    Keep up the good work.
    Amazing quality on your videos Chuck ;)

  • @_Wags_
    @_Wags_ 2 роки тому +2

    10/10, you have inspired me to build my own Kubernetes cluster.
    Currently waiting on my 3 worker nodes to arrive!

  • @Valconeye
    @Valconeye Рік тому

    Going to be setting this up soon when I get my Turing Pi 2 cluster board up and running. Thanks for the in-depth vid!

  • @HashaamSiddiq
    @HashaamSiddiq 2 роки тому +3

    Thanks for the amazing videos you put out Chuck. I learn a lot from your videos. Keep them coming.

  • @rafaelpernil
    @rafaelpernil 2 роки тому +4

    The work you do with these tutorials is truly amazing. Everything works first try and is clearly explained! Thank you!

  • @djchrisi
    @djchrisi 9 місяців тому +1

    Such an amazing video. Super fun to watch, super lots to learn, super well written. Thanks a log for this!

  • @BryanPike
    @BryanPike 2 роки тому

    This was definitely EPIC! Top Marks on the content and clarity of process.

  • @orsonc.badger7421
    @orsonc.badger7421 2 роки тому +5

    As a platform engineer amazing video sir! I love KUBERNETES!! It’s so amazing, I recommend anyone pick up the skill. Great video!

  • @rasmuslauritsen3395
    @rasmuslauritsen3395 2 роки тому +11

    Nice video - a great intro into Kubernetes.
    I tried deploying it to 4x RPi 3B+, but the master almost died due to lack of memory.
    A quick rebuild later, and I now run the master on a vitual machine and the four Pi's is worker nodes. It works despite it running on both arm64 and x86 architecture :-)
    As someone else mentioned, I would love to see how to do load balancing correct, so we have no hardcoding to a specific node IP. I pulled one of the workers offline, and K3s rebuilt the pods on another worker, but I can not access it on the original IP.

  • @brookzT
    @brookzT Рік тому +1

    Great job!!! you present things in a simple and understandable way!!!Thank you!

  • @MONTIQUEWILLIS
    @MONTIQUEWILLIS 2 роки тому

    Thanks for the run down, gonna build a cluster. Rancher looks sweeeet. Very interested in exposing this to a cloud VM for multiple device access.

  • @danieltafoya9841
    @danieltafoya9841 2 роки тому +17

    Just finished this video and never realized it was an hour long. Awesome.

  • @qwarlockz8017
    @qwarlockz8017 2 роки тому +17

    When configuring pi-2 -> pi-n please just copy the image from the first to the second (n)... then change the cmdline.txt to the new ip addresses. This should be quick

    • @Pugwash.
      @Pugwash. 2 роки тому

      This is what I was thinking.

    • @mattduncan3304
      @mattduncan3304 2 роки тому

      Valid, unless you've ever felt the pain of a corrupt SD card. Very much preferable to use the same starting point for everything and not risk having to re-do the whole lot because you ended up copying from a faulty card to everything else in your cluster.

  • @henrysowell
    @henrysowell Рік тому

    I just wanted to drop in and say thank you. I know this took a significant amount of time and research to just figure out how to do this, let alone taking the time to put this video together. Thank you, thank you!

  • @GreenApple660
    @GreenApple660 2 роки тому

    Man, this energy... I'm usually more a docs guy than a tutorial watching guy but i enjoyed the hell out of your videos.

  • @sirflimflam
    @sirflimflam 2 роки тому +3

    Dude I don't know how I ended up on this channel but it's cool as hell. You know back in the late 90s and 00s I was all up in the technical on how networking and all that was working but I definitely regressed more towards the consumer side as time went on, focusing on different parts of the computer pipeline. Now that I'm looking back at it again, it's absolutely insane what we do now. I feel like one of those old fogeys watching young people perform magic.

  • @DeadKoby
    @DeadKoby 2 роки тому +4

    This is really cool. I studied clustering back in the 90's.... Lobos and stuff like that. I'm glad it's gotten ever so much easier. I think this would be a fun project, but I'm really not sure what I would do with it once I had it working.

  • @issuinoyume85
    @issuinoyume85 Рік тому

    The way chuck explains stuff makes me feel smart and talked down to at the same time, but i wouldnt be able to follow any of this without it. Thanks for nerdsplaning everything like im a casual. 👍

  • @oquendoluis
    @oquendoluis 2 роки тому

    Chuck...ty for all your post! I have been enjoying your informational videos a lot (of course while sipping coffee!). Keep them coming.

  • @bjobo9164
    @bjobo9164 2 роки тому +6

    I really enjoy you videos🤩 Thank you for the great content! Have you considered to use PoE instead of all the power supplies? Will that work out of the box?

  • @dragonsage6909
    @dragonsage6909 2 роки тому +3

    Thanks for posting, I may try building one..

  • @todd2k3
    @todd2k3 2 місяці тому +1

    Just got this running on 4 Raspberry Pi 5s and it is pretty cool. Been wanting to try this for a while but could not find any Pis that were available, Now that the 5 is out I'm able to get them without paying outrageous prices. Thanks Chuck for sharing this!

  • @cooperhime
    @cooperhime 3 місяці тому

    It's awesome to see how dedicated and excited you are to share the knowledge you gain to us instead of hoarding it and becoming a "dead end of information". Your work is extremely appreciated.

  • @mrcrypdough9552
    @mrcrypdough9552 2 роки тому +12

    Brother!! This is exactly what I have been looking for

  • @tommytigerpants
    @tommytigerpants Рік тому +4

    We need a new version of this!

  • @chrisumali9841
    @chrisumali9841 2 роки тому

    Thanks for the demo and info. I managed to deploy k3s on my pi-cluster, this video is helpful. Have a great day

  • @niclast7600
    @niclast7600 Рік тому

    this video made me sub. Been watching your videos casual from time to time. But Iv been needing to learn stuff like rancher and kubernetics in my work.

  • @ButtonBasher123
    @ButtonBasher123 Рік тому +5

    things must have come a long way since this video, i bought 5 rpi 3b for cheap recently, never owned or used one, and its all easier than you think, raspberry imager will set up hostname, ssh, user and pass (pass linked to ssh) and network if you give it the details you require in the settings button, however following the steps to the cmdline and config is the same,as i gave one away to a friend im setting up 4 pi3b with the main being gui desktop as its in my bedroom which i can still ssh into my other pis from, great vids btw

  • @cheesemcphee
    @cheesemcphee 2 роки тому +10

    love this deployment....I'm moving house soon, going from VERY rural to very urban and would love to use PI products and Linux to create a security camera system on an incredibly tight budget, maybe starting simple and adding additional cameras at a later stage, but utilizing the compute power and AI to identify friend v foe with respect to camera footage.

    • @cheeeeezewizzz
      @cheeeeezewizzz 2 роки тому

      I'm working on having my cameras automatically track anyone they see. So anyone who comes around would be able to see the camera moving and following them. It's been tougher to do than I thought it would be, but it really freaks out the mail guy

  • @SpaceFahad
    @SpaceFahad Рік тому

    Great video! I hope you will one day talk about stasis/volume/DBs when using Kubernetes and how to configure such a thing!

  • @michaelflores3767
    @michaelflores3767 Рік тому

    I can't believe that have never seen your channel before. So much excellent information and you are interesting to watch. Great stuff. 🤙🏽

  • @SeMoDrix
    @SeMoDrix 2 роки тому +12

    That SUSE jumpscare at minute 40 😂

  • @valyt4155
    @valyt4155 Рік тому +35

    404 error for the guide

  • @KeithGriffiths
    @KeithGriffiths Рік тому

    That was a good walk through. You are the first I have seen that has run Minecraft on a Raspberry Pi - cool!

  • @am01013
    @am01013 2 роки тому

    This was great, thank you so much! And yes please do make a video on how to expose the cluster to the internet, that would be so awesome and useful! Then everyone can essentially have their own data center at home, no need for AWS :)

  • @paulchong692
    @paulchong692 2 роки тому +3

    I don’t know much computers stuff but after watching your videos, I am very interested in trying to set one up. Your energy level and detailed instructions kept me awake at all times. Thanks for the amazing video. Just wondering, will a POE hub works for this project?

  • @DoseOfDailyIt
    @DoseOfDailyIt 2 роки тому +5

    I work primarily with the Avaya stuff, but like Chuck I love all things IT!!! I heard a rumor that Avaya might be moving towards some sort of container type of infrastructure, it would be so cool to setup a PBX on one of these! No more high power bills ( :

    • @chrisjreed88
      @chrisjreed88 2 роки тому +1

      I also work with Avaya equipment, mainly IP Office 👊. Avaya used to do a containerised solution but it was hosted by Avaya on Google cloud. They discontinued it when they partnered with ring central for avaya cloud office. You should watch Chucks video on setting up 3cx on a raspberry pi, if you're into Voip you'll find 3cx pretty cool if you haven't worked with it before.

    • @DoseOfDailyIt
      @DoseOfDailyIt 2 роки тому

      @@chrisjreed88 Awesome! I'm on the Avaya Aura side myself, IP office is great too! We have a team of IPO guys, we'll be collaborating soon for cross training.

  • @benedicttiu2919
    @benedicttiu2919 2 роки тому

    That was so fun to watch, thank you for breaking it down for newcomers!!!

  • @jorns6678
    @jorns6678 2 роки тому +1

    Just ordered everything I need! Can't wait to start the build. I just learned the basics of docker and Kubernetes on my local machine and this is the perfect next step. I'll let you know when I finish the build 😄

    • @GetOffMehBRA
      @GetOffMehBRA 2 роки тому

      how many pi's ?

    • @TheBusenitz1
      @TheBusenitz1 2 роки тому

      Just a heads up....these instructions are broken. You won't be able to install rancher the way he says you can.

    • @jorns6678
      @jorns6678 2 роки тому

      @@GetOffMehBRA I now have 4. Just got them en going through the procedure now

    • @jorns6678
      @jorns6678 2 роки тому

      @@TheBusenitz1 yes I'm currently at the rancher part, video doesn't tell how to setup the VM. According to the rancher docs it's needs to meet specific requirements. I'm going to try it anyway and see where I end up

  • @jimchisholm2433
    @jimchisholm2433 Рік тому +5

    Hey Chuck.. where is the walkthrough? (Page Doesn't Exist). You lost me at the Pi image override statement, I can't see what you pasted in.

  • @rex5120
    @rex5120 8 місяців тому +7

    I am trying to get the WALKTHROUGH documentation, but looks like the link doesn't work anymore. Is there a more updated link?

  • @SciHeartJourney
    @SciHeartJourney Рік тому

    Excellent Supercomputer! Thank you for sharing your video with us.

  • @mauricio14junior
    @mauricio14junior 2 роки тому

    Really amazing video. I already manage K8S clusters but I did learn more about Rancher. But the think I will definitely not forget is how to pronounce Suse.

  • @haralc
    @haralc 2 роки тому +5

    Wow! Amazing! I want to do it too! Btw, in simple cases, one pod has usually one container associated with it. A pod can have multiple containers - this normally comes in when you start considering envoys or sidecars.

  • @ranjan_v
    @ranjan_v 2 роки тому +23

    You are inspiring, I hope you know that

  • @ghostlu1196
    @ghostlu1196 2 роки тому

    Bro the intro already got me interested and I loved the video
    Plus that some awesome thinking, sliding down the stairs and cooking some beautiful food, made me drool

  • @GrandIronWolf
    @GrandIronWolf 2 роки тому

    why are you so interesting to listen to! You have just the right amount of energy. Just enough to keep my attention, but not overdoing it that it's annoying. Stop being so interesting! I can't stop watching.

  • @DerSpielerMabuse
    @DerSpielerMabuse 2 роки тому +4

    Hey Chuck, I was always wondering if such a cluster could be used to do Data Analysis with Hadoop? That'd be awesome
    Great video btw, keep up the good work, thanks for all the great insights.

  • @protocol2746
    @protocol2746 2 роки тому +37

    “pretty much all you need, apart from about 1000$ in raspberry pi’s”

    • @VladtheImpaler_99
      @VladtheImpaler_99 2 роки тому

      How much do you think raspberry pi's cost?

    • @kingpin1982
      @kingpin1982 2 роки тому +2

      @@VladtheImpaler_99 $145 for a Raspberry Pi 4 8g

    • @VladtheImpaler_99
      @VladtheImpaler_99 2 роки тому +1

      @@kingpin1982 sure, you could spend $1000 on them but you could also get the 4Gb ones for like 50 dollars. Also you can just run this cluster on as many as you can afford.

    • @kingpin1982
      @kingpin1982 2 роки тому

      @@VladtheImpaler_99 The 4g one is about $100 without any power supply, I just use my computer as a server.

    • @kingpin1982
      @kingpin1982 2 роки тому +1

      @@VladtheImpaler_99 Oh forgot I'm talking Australian dollar and that's just for the card.

  • @joaocampos9615
    @joaocampos9615 8 місяців тому

    Amazing video. I cannot imagine the work to learn it good enough to explain it in such a simple way. 😅

  • @DaveSully
    @DaveSully 10 місяців тому

    excellent walkthrough

  • @NawtieBoy96
    @NawtieBoy96 2 роки тому +3

    loveddd it , would be interested to see how use it for Machine learning

    • @shady4tv
      @shady4tv 2 роки тому

      check out Ranchers' awesome OPNI project for integrating AI into logging cluster metrics! Rancher is focusing on AI from the start:
      github.com/rancher/opni

  • @alexsnow27
    @alexsnow27 2 роки тому +5

    YESSSS I'VE BEEN WAITING FOR THIS VIDEO

  • @matt5726
    @matt5726 2 роки тому

    Super nerdy cool stuff Chuck. I need more of it!!🤓😁

  • @dariogruber5952
    @dariogruber5952 2 роки тому

    Una maravilla de tutorial. Gracias desde Argentina

  • @NormanDucoffre
    @NormanDucoffre 2 роки тому +9

    great video!! have you ever thought about PXE booting the Pi workers with a PXE boot server on the master? you could get rid of all the sd card preparation by booting directly over the network and even dynamically add a bunch of Pis…

  • @kademahler5805
    @kademahler5805 2 роки тому +17

    Glad to know Chuck is also one of 10 people who say “what the junk”

  • @jlpcpr
    @jlpcpr Рік тому

    11:44 you had me cracking with this... awesome video.