Running your own Kubernetes cluster with Rancher

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.พ. 2022
  • Today I finally get around to try out Rancher. This product is great for bootstrapping your own Kubernetes cluster on prem or on Hypervisors or even in the cloud
    Subscribe to show your support! goo.gl/1Ty1Q2 .
    Patreon 👉🏽 / marceldempers
    Checkout the source code below 👇🏽 and follow along 🤓
    Also if you want to support the channel further, become a member 😎
    marceldempers.dev/join
    Checkout "That DevOps Community" too
    marceldempers.dev/community
    Source Code 🧐
    --------------------------------------------------------------
    github.com/marcel-dempers/doc...
    If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
    Kubernetes Guide for Beginners:
    ---------------------------------------------------
    • Kubernetes development...
    Kubernetes Monitoring Guide:
    -----------------------------------------------
    • Kubernetes Monitoring ...
    Kubernetes Secret Management Guide:
    --------------------------------------------------------------
    • Kubernetes Secret Mana...
    Like and Subscribe for more :)
    Follow me on socials!
    marceldempers.dev
    Twitter | / marceldempers
    GitHub | github.com/marcel-dempers
    Facebook | thatdevopsguy
    LinkedIn | / marceldempers
    Instagram | / thatdevopsguy
    Music:
    Track: Fox Beat 2 - Joakim Karud - Balloons - Royalty Free Vlog Music [BUY=FREE] | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / joakim-karud-balloons-...
    Track: jimmysquare - My Band | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / my-band
    Track: Amine Maxwell - good morning | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / good-morning
    Track: mythic - JUMP OUT DA POT w/ ASERI | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / jump-out-da-pot-w-aseri
    Track: Sappheiros - Passion | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / passion
    Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
    Listen: / parallel
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 96

  • @dundydunker
    @dundydunker 4 หลายเดือนก่อน +7

    This is by far the best kubernetes guides I have ever seen

  • @VinceBaker
    @VinceBaker 2 ปีที่แล้ว +8

    Fantastic fully covered walk-through. Excellent work as usual. Thanks Marcel.

  • @Lets_talk_about_it_
    @Lets_talk_about_it_ ปีที่แล้ว +2

    Just got into devops, my job wants me to spin up quick. These have got to be the best videos I've stumbled upon period. Thank you Marcel!

  • @alexandreramos7569
    @alexandreramos7569 ปีที่แล้ว

    Awesome video! Thx Mr. for your kindness to show us this amazing architecture.

  • @AlexisHernandez-fv5vg
    @AlexisHernandez-fv5vg 2 ปีที่แล้ว +5

    Great video to know more about Rancher! I have deployed a k8 cluster bare metal with 5 physical worker/control-plane nodes and 2 virtual nodes for control plane, is distributed into three failure zones and it uses metallb as load balancer service

  • @charlettedavis2153
    @charlettedavis2153 4 หลายเดือนก่อน

    I agree with everyone that these are the best videos. I plan to share them with my new counter partner who is just starting with RKE. Again, I agree with everyone these are the best videos. I plan to share this with some of my counter partner who's new to the team into RKE. I have subscribed and plan to join for the small monthly fee. It's worth it! Thank you.

  • @niketsingh87
    @niketsingh87 11 หลายเดือนก่อน

    amazing tutorial. Nothing skipped. Same tut can be used to setup this on AWS EC2 also. Simple, easy to follow detailed steps. Thanks a lot Marcel. God Bless ya!

  • @WelcomeWithinMyDream
    @WelcomeWithinMyDream 2 ปีที่แล้ว +1

    Thanks for your video and happy to see you're safe.

  • @rlobarros
    @rlobarros 3 หลายเดือนก่อน

    Thank you for a excellent guide. Clear concise and well put together. Once again EXCELLENT!!!!

  • @ZimTachyon
    @ZimTachyon 2 ปีที่แล้ว +1

    Wow your presentation alone is worth the subscription.

  • @johnreyna5080
    @johnreyna5080 2 ปีที่แล้ว +1

    I started both Windows 10\Virtualboxvms\microk8s & Windows 10\Virtual box vms\k8s. Small 14 inch laptop with 16 gbs of ram With 300GB USB connected storage. All kubes ran on calico. LB running on HAProxy. The virtual machines I ran custom unattended installs of ubuntu. That was a pain but custom ISO's for each VM. I am still a little old fashion and save my work on Notepad++. You and Tech nana explain things very well. I have worked big infrastructure and small ones as well. Keep up the good work.

  • @krvns
    @krvns ปีที่แล้ว +1

    Truly awesome content with no bs!

  • @ddpxl
    @ddpxl 2 ปีที่แล้ว +1

    What a great introduction to rancher! Well done!

  • @hakanutkuozdemir1407
    @hakanutkuozdemir1407 2 ปีที่แล้ว

    These are really detailed tutorials. Thank you for this!

  • @chrisumali9841
    @chrisumali9841 ปีที่แล้ว

    Thanks for the demo and info, very helpful and concise. Have a great day

  • @wantstuff
    @wantstuff 3 หลายเดือนก่อน

    Wow! Seriously, this the best video I have found. Well done

  • @van-khoanguyen8430
    @van-khoanguyen8430 2 ปีที่แล้ว +1

    Excellent work ! Thanks Marcel.

  • @90DaysOfDevOps
    @90DaysOfDevOps 2 ปีที่แล้ว +2

    Always great content. I want to include rancher in my 90DaysOfDevOps and my Kubernetes section. You tackle a large part of it but Rancher could be the winner when it comes to getting that UI to manage Kubernetes.

  • @AhmedGamal-eo3ns
    @AhmedGamal-eo3ns 4 หลายเดือนก่อน

    wow, this is the best explain for Rancher on youtube

  • @stefanschmidbauer6075
    @stefanschmidbauer6075 2 ปีที่แล้ว

    Great video. The videos are so good, I watch them during my lunch break :)

  • @jmmtechnology4539
    @jmmtechnology4539 ปีที่แล้ว

    Always find your videos informative, thanks!

  • @andreigiubleanu
    @andreigiubleanu 2 ปีที่แล้ว

    Great video Marcel ! Keep up to the good work!

  • @dmitriykrayniy5846
    @dmitriykrayniy5846 2 ปีที่แล้ว +1

    Great video, thank you. We use kubeadm and ansible to spin up kubernetes for on-premises, because we like to create infrastructure by automated scripts.

  • @FabianoChagas
    @FabianoChagas 2 ปีที่แล้ว

    Awesome as always. Thanks for sharing.

  • @Joy-vo4ne
    @Joy-vo4ne ปีที่แล้ว

    Thank you sir for your hard work. Your video is very helpful.

  • @gizmoamp
    @gizmoamp 2 ปีที่แล้ว +1

    My K8s clusters are deployed and configured manually on VMs, K8s cluster upgrades im doing also manually and im using metallb as LB. I will try this one - thank you for walk-through Marcel.

  • @nabsan0320
    @nabsan0320 3 หลายเดือนก่อน +1

    Thank you your video. its very easy to understand. your my teacher.

  • @iamabrantes
    @iamabrantes 2 ปีที่แล้ว +1

    I had difficulties because i did all on a ubuntu/bionic64 on virtualbox, the hardest problem was use the kubeconfig because when i started the vms useing vagrant the current user is vagrant, but when i setted the config on the folder kube all the things were solved, thanks from Brazil :D

  • @thelensoftruth
    @thelensoftruth ปีที่แล้ว +1

    Great video! The only thing missing from this tutorial is making sure your Windows OS enables the Hyper-V role through settings

  • @conwayniall
    @conwayniall 2 ปีที่แล้ว

    Love it...insightful as always :D thanks!

  • @realbootybabe
    @realbootybabe 2 ปีที่แล้ว

    Before I saw this video I thought setting up Kubernetes in a private cloud needs hours of hours to get Kubernetes running. Thanks a lot!! :-)

  • @mohammadtalep9913
    @mohammadtalep9913 ปีที่แล้ว +1

    Great video. Thanks for the effort

  • @dorinxtg
    @dorinxtg ปีที่แล้ว +2

    Great video!
    If I may suggest something: Don't use the ISO, use a cloud image and after adding your config, convert it to a template. That way you could spin 3-4 machines within minutes without lot of work.

  • @ketanranade4564
    @ketanranade4564 2 ปีที่แล้ว +1

    Hi Marcel, your videos have been very helpful. Thanks a lot and Keep on the great work!
    Just a request, if you could do a video on configuring multi-master cluster using kubeadm on AWS ec2 instances that would be great.

  • @esaieledouxnjongssikouam9326
    @esaieledouxnjongssikouam9326 2 ปีที่แล้ว +1

    Merci beaucoup , ...
    Très bon tuto
    Très belle vidéo

  • @victorcasad
    @victorcasad 2 ปีที่แล้ว +1

    Great video! Love it!

  • @ashermanangan
    @ashermanangan 2 ปีที่แล้ว +1

    Thanks for this video!

  • @kodikodi9948
    @kodikodi9948 ปีที่แล้ว +1

    this is great. really great. thank you!

  • @lightafterdark4453
    @lightafterdark4453 2 ปีที่แล้ว +1

    Always Excellent

  • @aPaCHuNEe
    @aPaCHuNEe 2 ปีที่แล้ว +2

    awesome stuff , thank you

  • @yashsachdeva2829
    @yashsachdeva2829 ปีที่แล้ว +3

    Hi Marcel, Would be good if you did a deep dive on Rancher features similar to what you did for Portainer. It would help decide which is the best Kubernetes management tool out there.

  • @ganeshmhaske33
    @ganeshmhaske33 4 หลายเดือนก่อน

    Really great video,
    Can you please create video on production grade rancher setup with fail-over and HA management.

  • @MateuszDrankowski5
    @MateuszDrankowski5 2 ปีที่แล้ว +1

    Great video!

  • @vivekraj6794
    @vivekraj6794 2 ปีที่แล้ว +1

    I am big fan of your videos sir, i try to follow it.

  • @michaelgraff6978
    @michaelgraff6978 2 ปีที่แล้ว +3

    The one thing I seriously dislike about Rancher is how intrusive it is. The last time I tried it, I installed it on my Raspberry Pi cluster, and while it worked, and seemed kinda handy... I decided to remove it. That's when my problems started.
    It adds hooks into every pod, deployment, statefulset, etc. If you then remove Rancher, and at the time perhaps I did not remove the cluster from rancher's control properly... but it left my cluster in a very, very confused state. I could not delete pods. I could not create new ones. I had to hunt down and remove all sorts of delete hooks, admission controller configurations that no longer exist, etc.
    I just use ArgoCD now to deploy, and Lens 5 to manage the cluster in a UI way when needed. I'm still very much a command line person, so I tend to have a pile of manifests, which Argo can easily consume.

  • @skvtech228
    @skvtech228 ปีที่แล้ว +1

    Excellent video on rancher. Can you please make video on High availability setup for Rancher server. Thanks Marcel.

  • @pratahsinnetamby
    @pratahsinnetamby 2 ปีที่แล้ว +1

    Great video - many thanks.
    I was hoping you would use RKE2 to create the cluster. Any reason you didn't (a novice here!)?

  • @praxorizor
    @praxorizor 2 ปีที่แล้ว +1

    Nice Video, love it :-). Can you make a video about some k8s operators like k8ssandra, eck, strimzi ... or some cool tools like lakefs, minIO, dremio, trino, ...?

  • @heatheryoung7498
    @heatheryoung7498 ปีที่แล้ว +3

    Are you able to do a video where you use Rancher without Docker? A lot of companies are doing away with Docker because they’re now charging for licenses. I’ve performed several of your videos using nerdctl (with Lima) and Rancher. I think such a video would be helpful :). Thank you!!

  • @maciejrozz3327
    @maciejrozz3327 ปีที่แล้ว

    theres lots of steps to fix here, also devops way is to install 1 vm and clone it xx times. Im sure your going to develop devops mindset soon will all work your doing! Gread vid!

  • @jeremycoe7259
    @jeremycoe7259 2 ปีที่แล้ว +1

    Thank you for the video know-how.
    Can I just use Rancher to setup a kubernetes with etcd/master/work nodes/roles , and then remove Rancher ? I simply want to use Rancher for the first cluster setup, and then manage the cluster(s) administration on my own.

  • @JaY-rr2hg
    @JaY-rr2hg ปีที่แล้ว

    subbed! This guide is really awesome! But wondering if I can deploy an NGINX as a loadbalancer and how to apply SSL certificate to rancher itself.

  • @buacomgiadinh1
    @buacomgiadinh1 2 ปีที่แล้ว +1

    wait for your next videos :)

  • @cd-stephen
    @cd-stephen 2 ปีที่แล้ว +1

    appreciate you

  • @huimi8569
    @huimi8569 2 ปีที่แล้ว +1

    I like your style

  • @joeharyar9873
    @joeharyar9873 8 หลายเดือนก่อน

    Hi..great video...if running openstack vm (kvm) should I run 'custom' ? Thank you

  • @dqfold5557
    @dqfold5557 2 ปีที่แล้ว

    Hello Marcel,
    Thanks again for this new video.
    I have a question about Kubernetes patterns. You talk a lot about devops, but you never post videos about patterns.
    I'm curious to know what you think ? Do you use them ?
    In the book by Ibryam + Huß there are many patterns explained. But on TH-cam and blogs people usually only talk about the Sidecar, Adapter and Ambassador patterns.
    I am very curious about your opinion on this.
    Thank you !

  • @rchalicham
    @rchalicham ปีที่แล้ว

    this is really cool , can you tell something cool walk thru for KVM,OVS and rancher?

  • @marcziel5424
    @marcziel5424 2 ปีที่แล้ว +6

    Good video generally but you're talking about immutable vms and how advantageous it is but all you do is mutating vms in place. You should prepare an image for worker/master nodes and use that instead fiddling with the same commands through ssh.

  • @javisartdesign
    @javisartdesign 2 ปีที่แล้ว +1

    Thanks. It really helps! It does not work with cri-o or containerd?

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +2

      I can't see how it shouldn't work, however would have to consult the rancher docs to be certain. Or atleast give it a go and see 💪🏽

  • @vivahernando1
    @vivahernando1 2 ปีที่แล้ว +1

    Great video. I have a question for everyone ….. why does it seem like Ubuntu is the preferred distro for baremetal

  • @Fayaz-Rehman
    @Fayaz-Rehman 2 ปีที่แล้ว

    Super hit - Thank you for sharing. I wonder, we did not disable/delete swap on the nodes. Is it done by rancher automatically?

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +1

      I did not disable SWAP, it may be done during the k8s install by Kubernetes itself or by Rancher. I have a suspicion its done by the K8s process itself, but you'd need to test it out.

    • @Fayaz-Rehman
      @Fayaz-Rehman 2 ปีที่แล้ว +1

      @@MarcelDempers Thank you - I appreciate.

  • @pix3lize
    @pix3lize ปีที่แล้ว +2

    It doesn't work any more! it's always loop [controlPlane] Failed to upgrade Control Plane: [[host linux-1 not ready]]. Any help will be appreciated :)😅

  • @dm5665
    @dm5665 2 ปีที่แล้ว +1

    But is it possible to manage vanilla k8s running on Baremetal from Rancher?

  • @dillonhansen71
    @dillonhansen71 2 ปีที่แล้ว +1

    oh yeahhhhh 💪

    • @ashik9001
      @ashik9001 2 ปีที่แล้ว +1

      Great content for this video 👍,can you make one concourse CI/CD pipeline video on top of kubernetes?

  • @piotrwawrzen2113
    @piotrwawrzen2113 4 ชั่วโมงที่ผ่านมา

    nice tutorial. Are you aware of how to deploy rke cluster via rancher using code in Terraform or something like that ?

  • @coboogaart7833
    @coboogaart7833 2 ปีที่แล้ว +1

    Great video only a lot of manual infra setup why don't you use vagrant with hyper-v provider much easier :)

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +2

      The tutorial focus is rancher, which leave you to use any automation tools of your choice.
      Manual setup is extremely important in tutorials to understand how things work

  • @nt3900
    @nt3900 2 ปีที่แล้ว +3

    Nice video. You talked about adding a Metal LB. Could you please make a video where you set that up for an on-prem HA K8s cluster where we 3 Control-planes, 3 workers and 3 Etcd?

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +2

      Metal LB is something I am still learning. Might be showcasing it in the future for sure 💪🏽

    • @nt3900
      @nt3900 2 ปีที่แล้ว +1

      @@MarcelDempers Thank you for your answer.
      Can we in the context of the video set up a functioning HA cluster without a Load Balancer?
      If not, any guidance on setting up a HA k8s cluster (At least 3 control planes, 3 workers and 3 etcd? ) with rancher??
      Thanks

  • @elchinefa9524
    @elchinefa9524 ปีที่แล้ว +1

    Maybe it will help someone. I faced issue with running rancher. It kept rebooting, thtat is why could not open localhost. After some research figure out Ubuntu 20.0.4 is right one for me.

  • @rabigurung7188
    @rabigurung7188 2 ปีที่แล้ว +2

    Am I able to add Raspberry PI (ARM64) in the Rancher RKE cluster? I get stuck in the node provisioning stage.
    Thanks.

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +1

      I've heard folks doing so, but have not tried it myself. Would have to consult the docs

  • @technoparkbd4631
    @technoparkbd4631 ปีที่แล้ว

    Hello. i have two vm one is rancher and another one is kubernetes cluster how to connect kubernetes cluster from rancher. Please help me.

  • @irfanshaikh9440
    @irfanshaikh9440 2 ปีที่แล้ว +1

    Great video on Rancher I have ever seen. Is it possible for you to make video on Openshift using OKD?

  • @ugurserhattoy
    @ugurserhattoy 2 ปีที่แล้ว +1

    kubectl command for the cluster is responsing so slow. Do you have an idea why?
    I tried even on the master node itself. The docker container for rancher is working on it too.

    • @ugurserhattoy
      @ugurserhattoy 2 ปีที่แล้ว +1

      SOLVED: !!! It's fixed by redeploying metrics-server. !!!

  • @allisondealmeida
    @allisondealmeida 2 ปีที่แล้ว +1

    Didn't kubernetes stop supporting docker? Using the Kubernetes cluster with Rancher can I use it in production?

    • @manuelthallinger7297
      @manuelthallinger7297 ปีที่แล้ว +1

      I think they stopped supporting Docker Images, not the installation of rancher on Docker itself.

  • @tyronestephen4263
    @tyronestephen4263 2 ปีที่แล้ว +1

    Please share the link with the text, I can't seem to find it in the source.

    • @MarcelDempers
      @MarcelDempers  2 ปีที่แล้ว +1

      github.com/marcel-dempers/docker-development-youtube-series/tree/master/kubernetes/rancher

  • @DingoAteMeBaby
    @DingoAteMeBaby ปีที่แล้ว +2

    have you tried K3s?

  • @PaulLembo
    @PaulLembo 2 ปีที่แล้ว

    Tanzu Community Edition

  • @kellyburton
    @kellyburton ปีที่แล้ว

    Not sure why you used docker to run Rancher. For my workshop I spun up three VMs running linux and then installed rancher on the VM, no docker needed.

  • @nbctcp3450
    @nbctcp3450 ปีที่แล้ว

    1. 29:00 could I use dns name instead of ip address
    2. u hv 3 kube servers and u use static ip address.
    better use ip address or use static dhcp server (dhcp with static ip based on mac address)
    coz I ever heard changing ip in k8 more difficult than windows.
    I am not sure about that
    3. u r using ubuntu in ur k8 servers
    can I use Alpine instead coz lighter
    coz alpine isn't supported in rancher, I'll stick with Ubuntu for rancher vm only

  • @elchinefa9524
    @elchinefa9524 ปีที่แล้ว +1

    Hi. Here 33:06 i don't understant . You said before for rancher we need linux host but you use windows. Really, I'm confused.

    • @nbctcp3450
      @nbctcp3450 ปีที่แล้ว

      he use windows to run Hyper-V server and under it he create a linux server for rancher

  • @user-rd2fs5lu9g
    @user-rd2fs5lu9g 5 หลายเดือนก่อน

    ... Not for production

  • @tolpacourt
    @tolpacourt ปีที่แล้ว

    Installing Windows on a computer is like tying a brick to a dog's head.