Тёмный

Kubernetes tutorial - Install Kubernetes on Raspberry Pi fast in 2022 

Andrew Malkov
Подписаться 1,5 тыс.
Просмотров 26 тыс.
50% 1

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@michaelanderson3172
@michaelanderson3172 6 месяцев назад
Simple straight forward. Wish all videos on RU-vid were this straight forward.
@vitusyu9583
@vitusyu9583 6 месяцев назад
Good! I am going to clean up all of my 5 Raspberry pi 4, and then install this k3s according to your demo!
@outrospection4all
@outrospection4all 9 месяцев назад
This is superb and to the point, greatly appreciated.
@MrTartans
@MrTartans 2 года назад
Wonderful. I couldn’t get this watch a lot of other people videos. Well executed!!!!!
@chhatwalz
@chhatwalz Год назад
Worked like a charm...Thanks for the video
@anmalkov
@anmalkov Год назад
Thank you for the kind words!
@camuscheung7832
@camuscheung7832 Год назад
awesome video
@anmalkov
@anmalkov Год назад
Thank you!
@_MoshikoAz_
@_MoshikoAz_ 4 месяца назад
Thanks for the video, when you connected the raspberry pi to the cluster, how did you figured it out what to do ?
@gowthamhs7332
@gowthamhs7332 9 месяцев назад
I followed different videos till now and same error was getting popped up each time "cgroup not found" Thank you man for the proper instruction
@ajarvis92
@ajarvis92 2 года назад
Thanks for a really good video!
@anmalkov
@anmalkov 2 года назад
Thank you for the kind words!
@alejandrocastronavarro7389
@alejandrocastronavarro7389 2 года назад
Could you maCould you make a video about OpenFaaS working in that same cluster and make some example function? Thanks for your videos.
@antoniorobles998
@antoniorobles998 2 года назад
Hi Andrew, great tutorial, well explained and straightforward. But I've a doubt, I have already 4 Raspberry Pis running with many containers running on each of them. It is possible to "convert" this environment into a Kubernetes cluster or I have to reinstall everything from the begining and start from scratch?. Im new commer in this, and It took me a lot of time and efforts to set this up... Thanks a lot!!!
@anmalkov
@anmalkov 2 года назад
Hi Antonio, thank you for the kind words. You can combine your 4 pis into the one cluster and host all of your containers there. But you need to rewrite your Docker / Docker compose instructions into Kubernetes deployment manifests.
@antoniorobles998
@antoniorobles998 2 года назад
@@anmalkov so, rewriting every docker-compose and creating a máster It is possible?
@anmalkov
@anmalkov 2 года назад
In your cluster you will have only 1 master and 3 worker nodes. All containers that you are running now will be run on these worker nodes. To run your containers now you are using Docker compose or just Docker commands. It's not possible to use it with Kubernetes. You need to rewrite your Docker commands / compose files to Kubernetes deployment manifests that are written in YAML.
@antoniorobles998
@antoniorobles998 2 года назад
@@anmalkov Ok, now I understand perfectly! thank you very much. So I think that I'll try Kubernetes in my next life... Thinking of start everthing from the begining really scares me.
@mrpayne2008
@mrpayne2008 Год назад
Very helpful; way to keep it simple but very effective.
@GormReventlow
@GormReventlow 2 года назад
Really good video. I am new to Kubernetes. The cluster name "pi" when is that defined?
@anmalkov
@anmalkov 2 года назад
Thank you! "pi" is just the name that I choose. You can name it as you want, eg. "picluster" or "mycluster" or "garage" - it really does not matter.
@tsob99
@tsob99 2 года назад
Hello Andrew, it is a very good tutorial. I have installed the kubernetes as you recommended on running raspi-system and it is running without problems The only thing is that yaml is new for me. My question is can you publish the yaml source on your youtube-channel?
@anmalkov
@anmalkov 2 года назад
Hello Thomas, thank you for the kind words. What yaml file you are talking about? I don't think that I used yaml in this video. Regards, Andrew
@tsob99
@tsob99 2 года назад
​@@anmalkov
@tsob99
@tsob99 2 года назад
@@anmalkov Hello Andrew you find it when you scroll to 27:28
@tsob99
@tsob99 2 года назад
Sorry it was 27:54
@yves-guillaumeherve6883
@yves-guillaumeherve6883 11 месяцев назад
@@tsob99 You can find your own config yaml file at /etc/rancher/k3s/k3s.yaml. You can't use an another one. It's used to configure your laptop after install kubectl.
@ManjunathKaranth-fe6dv
@ManjunathKaranth-fe6dv Год назад
Hi Andrew Malkov Thanks for bringing such a wonderful organized tutorial. I am new comer in kubernetees world, to understand I tried multiple contents to build my cluster but this one is done in very simple way and thanks for the same. One part related to joining the connections in yml file (around 27.5) i think we need kubernetees to be installed on laptop (Where I am establishing the ssh towards my pi cluster). Reason is I do not see any .kube folder in my home directory.
@anmalkov
@anmalkov Год назад
Yes, kubectl should be installed on your laptop.
@icehunter85
@icehunter85 2 года назад
tkn, very simple and direct
@anmalkov
@anmalkov 2 года назад
Thank you for the kind words!
@TheRawketLawnchair
@TheRawketLawnchair 11 месяцев назад
quick question. how did you install your two fans to your cluster?
@finishthecarrot4493
@finishthecarrot4493 Год назад
thanks!
@SonuKumar-fn1gn
@SonuKumar-fn1gn Год назад
Very good video thanks ❤
@user-kw9cu
@user-kw9cu Год назад
Thanks
@user-mb7ti5nm9n
@user-mb7ti5nm9n 6 месяцев назад
Is it important to be installed on Ubuntu, or it is only an option?
@MrTartans
@MrTartans 2 года назад
Would it be possible for new content “Auto-upgrade k3s using the system-upgrade-controller” tutorial?
@Agamemnonuk
@Agamemnonuk Год назад
My next project
@alejandro-acho
@alejandro-acho 7 месяцев назад
QQ if I have 2 pis, one of 2gb ram and the other one with 4, which one is recommended to use as the master?
@azatecas
@azatecas 2 года назад
hey im a noob, im going to follow this tutorial. i only have 2 rpi but does the master node only work as a master node? or does it see itself as a worker too? i ask because if i only have 2 pis for the cluster will one node be doing all the work? or should i wait until i have alot of nodes. since im not too sure i welcome any help
@anmalkov
@anmalkov 2 года назад
The master can also host the workloads. However it's not recommended. But, who cares about recommendations if it's your own home cluster ;) I would suggest to not wait and use what you have, if it won't work for you - just add another one pi
@gsantiago1980
@gsantiago1980 Год назад
All of it seemed pretty easy until it came time to edit the kube config. How do I get a copy of that on my PC to be able to edit it in vs code?
@jlpcpr
@jlpcpr Год назад
Have you happened to get the Kubernetes Dashboard working and accessible from outside the Raspberry Pi? I am having a horrible time getting it to be accessible.
@GormReventlow
@GormReventlow 2 года назад
could you make a video adding your cluster to rancher?
@anmalkov
@anmalkov 2 года назад
Thank you for the suggestion. I will see what I can do
@mitchross2852
@mitchross2852 2 года назад
@@anmalkov Im looking for this also. Please add!
@Kru83
@Kru83 9 месяцев назад
Hello, How are you doing autocomplete in your PowerShell command?
@anmalkov
@anmalkov 9 месяцев назад
Please look at my latest videos. There is the step by step guide.
@MKH-92
@MKH-92 2 месяца назад
How will vs code pop up?
@alejandrocastronavarro7389
@alejandrocastronavarro7389 2 года назад
How do you make the commands from the history appear below in the powershell?
@anmalkov
@anmalkov 2 года назад
I will publish a short video about it soon.
@stfnbstl9379
@stfnbstl9379 2 года назад
Google for "Adding Predictive IntelliSense to my Windows Terminal PowerShell Prompt with PSReadline" ;) It's not hard to install
@alejandrocastronavarro7389
@alejandrocastronavarro7389 2 года назад
@@stfnbstl9379 thank you
@vinodkinoni4863
@vinodkinoni4863 Год назад
nice tut
@anmalkov
@anmalkov Год назад
Thank you!
@gerardpontino
@gerardpontino 2 года назад
Hi, may I ask which SSD are you using?
@anmalkov
@anmalkov 2 года назад
Hi, I'm using Crucial BX500 120GB Internal SSD.
@jagermeister1888
@jagermeister1888 Год назад
27:38
@anmalkov
@anmalkov Год назад
Thanks. I missed that.
@josephciriza7783
@josephciriza7783 Год назад
What happens if I don't set a static IP address?
@anmalkov
@anmalkov Год назад
Hi Joseph, could you please tell me what static IP address you are talking about? Thx
@biswajithalder2441
@biswajithalder2441 Год назад
check netplan , cd /etc/netplan, 50-cloud-init.yaml config.yaml creat your own config.yaml for static ip address configaration. (Netplan apply /config.yaml) :)
@josephciriza7783
@josephciriza7783 Год назад
@@anmalkov Hello, for some odd reason when I try to set a static IP address to mi Pi's it doesn't work (while every tutorial shows its very simple). I skipped ahead and clustered them any way and both nodes show "ready", however I am still worried because I never set a static IP. Sorry for the long comment.
@237311
@237311 Год назад
Useful video. Followed your instructions line by line. ubuntu@master:~$ sudo kubectl get nodes E0506 15:30:16.957925 28052 memcache.go:265] couldn't get current server API group list: the server is currently unable to handle the request E0506 15:30:16.983338 28052 memcache.go:265] couldn't get current server API group list: the server is currently unable to handle the request E0506 15:30:17.001146 28052 memcache.go:265] couldn't get current server API group list: the server is currently unable to handle the request Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes)
@locomotivebreath2831
@locomotivebreath2831 10 месяцев назад
I got the same thing. I discovered my /etc/hosts file was reset to a clean state. After researching this I found that the /etc/cloud/templates/hosts.debian.tmpl had to be updated with the additional worker node addresses: sudo nano /etc/cloud/templates/hosts.debian.tmpl #add everything you want to appear in /etc/hosts - save and reboot master. Then my master appeared when I ran sudo kubectl get nodes I am running Ubuntu server 22.04
@hectorfrohlichcortez88
@hectorfrohlichcortez88 2 года назад
Thanks, really good video !
@anmalkov
@anmalkov 2 года назад
Thank you!
Далее
4 Pis on a mini ITX board! The Turing Pi 2
22:36
Просмотров 1,4 млн
Homelab upgrade: New Raspberry Pi Cluster rackmount
14:44
I Can Save You Money! - Raspberry Pi Alternatives
15:04
How to build your own Raspberry Pi Kubernetes Cluster
31:40
Using *HA* Kubernetes at home, was never so simple!
32:14
Automating my Homelab with Ansible
13:18
Просмотров 339 тыс.
you need to learn Kubernetes RIGHT NOW!!
29:34
Просмотров 1,2 млн