← Back
Mischa Vandenburg February 25, 2025 18m

The BEST tool for learning Kubernetes (According To Kubestronaut)

Read full transcript 12 segments
  1. I have taught kubernetes to well over a I have taught kubernetes to well over a thousand people at this point and in thousand people at this point and in thousand people at this point and in this video I'm going to share you the this video I'm going to share you the this video I'm going to share you the number one tool to get started with number one tool to get started with number one tool to get started with learning kubernetes and running it learning kubernetes and running it learning kubernetes and running it locally on your machine and the tool locally on your machine and the tool locally on your machine and the tool we're going to discuss is Rancher we're going to discuss is Rancher we're going to discuss is Rancher desktop rencher desktop is a tool by desktop rencher desktop is a tool by desktop rencher desktop is a tool by soua and I'm going to go through all of soua and I'm going to go through all of soua and I'm going to go through all of the reasons why I recommend this but the the reasons why I recommend this but the the reasons why I recommend this but the main reason why I recommend this is that main reason why I recommend this is that main reason why I recommend this is that it runs everywhere and it just just it runs everywhere and it just just it runs everywhere and it just just works and the reason why you want a tool works and the reason why you want a tool works and the reason why you want a tool that runs everywhere and just works is that runs everywhere and just works is that runs everywhere and just works is because when you set the goal for because when you set the goal for because when you set the goal for yourself to start learning kubernetes yourself to start learning kubernetes yourself to start learning kubernetes then it's extremely important that you then it's extremely important that you then it's extremely important that you actually start learning kubernetes actually start learning kubernetes actually start learning kubernetes instead of getting stuck with not instead of getting stuck with not instead of getting stuck with not getting your first cluster up and getting your first cluster up and getting your first cluster up and running you can get very Stuck In The running you can get very Stuck In The running you can get very Stuck In The Weeds if you start with running Cube ADM Weeds if you start with running Cube ADM Weeds if you start with running Cube ADM for example or if if you don't have any for example or if if you don't have any for example or if if you don't have any Linux skills then you are really in for Linux skills then you are really in for Linux skills then you are really in for a hard ride if you're going straight a hard ride if you're going straight a hard ride if you're going straight into kubernetes the hard way you are not into kubernetes the hard way you are not into kubernetes the hard way you are not going to have a good time learning going to have a good time learning going to have a good time learning kubernetes the first the the the most kubernetes the first the the the most kubernetes the first the the the most important thing when you start learning important thing when you start learning important thing when you start learning kubernetes is that you have a place to kubernetes is that you have a place to kubernetes is that you have a place to run Cube CTL commands as soon as run Cube CTL commands as soon as run Cube CTL commands as soon as possible you just need a cube API server possible you just need a cube API server possible you just need a cube API server to talk to and you need to have that to talk to and you need to have that to talk to and you need to have that within minutes and that's why it's so within minutes and that's why it's so within minutes and that's why it's so important to use a tool that just works

  2. important to use a tool that just works important to use a tool that just works within without struggle and because the within without struggle and because the within without struggle and because the the Le the less struggle you the Le the less struggle you the Le the less struggle you have when you start learning something have when you start learning something have when you start learning something the more fun it gets and the the sooner the more fun it gets and the the sooner the more fun it gets and the the sooner you're going to get that level that you're going to get that level that you're going to get that level that feeling of Mastery and that feeling of feeling of Mastery and that feeling of feeling of Mastery and that feeling of oh I'm learning something instead of oh I'm learning something instead of oh I'm learning something instead of having to struggle through setting up having to struggle through setting up having to struggle through setting up your first cluster so that's really your first cluster so that's really your first cluster so that's really important so because if you do that then important so because if you do that then important so because if you do that then you get distracted from the real you get distracted from the real you get distracted from the real learning in the beginning you don't have learning in the beginning you don't have learning in the beginning you don't have to learn about Cube ADM how to upgrade to learn about Cube ADM how to upgrade to learn about Cube ADM how to upgrade clusters how to install it on Linux what clusters how to install it on Linux what clusters how to install it on Linux what you need to learn in the beginning is to you need to learn in the beginning is to you need to learn in the beginning is to start running pods in deployments start running pods in deployments start running pods in deployments ETC so yes I do recommend Rancher ETC so yes I do recommend Rancher ETC so yes I do recommend Rancher desktop but I what I recommend Above desktop but I what I recommend Above desktop but I what I recommend Above This is actually starting a kubernetes This is actually starting a kubernetes This is actually starting a kubernetes home lab on bare metal that's the best home lab on bare metal that's the best home lab on bare metal that's the best way to do it to get a Raspberry Pi get way to do it to get a Raspberry Pi get way to do it to get a Raspberry Pi get an laptop or an old Thin Client but to an laptop or an old Thin Client but to an laptop or an old Thin Client but to get a dedicated little machine that runs get a dedicated little machine that runs get a dedicated little machine that runs kubernetes for you and you can just do kubernetes for you and you can just do kubernetes for you and you can just do that with k3s it's super simple but that that with k3s it's super simple but that that with k3s it's super simple but that is the best way to do it second best to is the best way to do it second best to is the best way to do it second best to that is running it on your workstation that is running it on your workstation that is running it on your workstation or on your laptop so in this case uh or on your laptop so in this case uh or on your laptop so in this case uh using Rancher desktop so to install using Rancher desktop so to install using Rancher desktop so to install Rancher desktop it's super easy you just Rancher desktop it's super easy you just Rancher desktop it's super easy you just download for Macos or for Windows or download for Macos or for Windows or download for Macos or for Windows or wherever you are you install the binary wherever you are you install the binary wherever you are you install the binary and then what you see is this very

  3. and then what you see is this very and then what you see is this very simple UI now how did I arrive at this simple UI now how did I arrive at this simple UI now how did I arrive at this Choice well like I said I've taught Choice well like I said I've taught Choice well like I said I've taught kubernetes to well over a thousand kubernetes to well over a thousand kubernetes to well over a thousand people and in my private devops people and in my private devops people and in my private devops Community I created a kubernetes Community I created a kubernetes Community I created a kubernetes fundamentals course now when I created fundamentals course now when I created fundamentals course now when I created this course I put a ridiculous amount of this course I put a ridiculous amount of this course I put a ridiculous amount of research into which tool I was going to research into which tool I was going to research into which tool I was going to recommend to my students recommend to my students recommend to my students because firstly I needed something that because firstly I needed something that because firstly I needed something that would work for everybody that would be would work for everybody that would be would work for everybody that would be easy to install but also that wouldn't easy to install but also that wouldn't easy to install but also that wouldn't lead to much trouble because I don't lead to much trouble because I don't lead to much trouble because I don't want to spend my want to spend my want to spend my days solving small problems on people's days solving small problems on people's days solving small problems on people's own machines right I want to help them own machines right I want to help them own machines right I want to help them with the bigger problems so I spent with the bigger problems so I spent with the bigger problems so I spent literally weeks researching this and literally weeks researching this and literally weeks researching this and probably more than anybody else on the probably more than anybody else on the probably more than anybody else on the planet on what tool is best to recommend planet on what tool is best to recommend planet on what tool is best to recommend to students to get going and well this to students to get going and well this to students to get going and well this this course teaches you the fundamentals this course teaches you the fundamentals this course teaches you the fundamentals of kubernetes in a unique way it's a of kubernetes in a unique way it's a of kubernetes in a unique way it's a practical way it's like eight hours long practical way it's like eight hours long practical way it's like eight hours long and instead of going into the theory too and instead of going into the theory too and instead of going into the theory too much we actually start deploying much we actually start deploying much we actually start deploying applications within the first module so applications within the first module so applications within the first module so it's a great course I'm getting so much it's a great course I'm getting so much it's a great course I'm getting so much good feedback on this and people love good feedback on this and people love good feedback on this and people love this course supplement this with a uh this course supplement this with a uh this course supplement this with a uh cka course and you're good to go so so cka course and you're good to go so so cka course and you're good to go so so highly recommend you check that out but highly recommend you check that out but highly recommend you check that out but that's how I arrived at this tool that's how I arrived at this tool that's how I arrived at this tool through the Deep research that I've

  4. through the Deep research that I've through the Deep research that I've done so it works everywhere and I've done so it works everywhere and I've done so it works everywhere and I've tested this in that research I run it on tested this in that research I run it on tested this in that research I run it on Linux I run it on Windows but most Linux I run it on Windows but most Linux I run it on Windows but most importantly it works on Mac OS on importantly it works on Mac OS on importantly it works on Mac OS on Silicon Max and that is the big problem Silicon Max and that is the big problem Silicon Max and that is the big problem when you are learning Docker or when you are learning Docker or when you are learning Docker or kubernetes or anything like that when kubernetes or anything like that when kubernetes or anything like that when you are running a silicon Mech which you are running a silicon Mech which you are running a silicon Mech which many people do because the architecture many people do because the architecture many people do because the architecture is different and you can't just run is different and you can't just run is different and you can't just run normal containers you are running arm normal containers you are running arm normal containers you are running arm images so you need something that can images so you need something that can images so you need something that can either translate that or or run arm either translate that or or run arm either translate that or or run arm images for you or you need a different images for you or you need a different images for you or you need a different solution and there are several solutions solution and there are several solutions solution and there are several solutions for this on Mac OS and I tried for this on Mac OS and I tried for this on Mac OS and I tried everything I tried running the docker everything I tried running the docker everything I tried running the docker engine um natively and then using kind engine um natively and then using kind engine um natively and then using kind for example kubernetes IND Docker that for example kubernetes IND Docker that for example kubernetes IND Docker that didn't work out didn't work out didn't work out uh I tried Docker desktop and although uh I tried Docker desktop and although uh I tried Docker desktop and although it works it does require you to buy a it works it does require you to buy a it works it does require you to buy a license eventually especially when you license eventually especially when you license eventually especially when you run it for work so I didn't like that run it for work so I didn't like that run it for work so I didn't like that part either then there is mini Cube I part either then there is mini Cube I part either then there is mini Cube I didn't have that on the list even mini didn't have that on the list even mini didn't have that on the list even mini Cube I tried that as well and although Cube I tried that as well and although Cube I tried that as well and although it works I don't like the way that they it works I don't like the way that they it works I don't like the way that they have their own conventions on creating have their own conventions on creating have their own conventions on creating Ingress resources and it abstracts away Ingress resources and it abstracts away Ingress resources and it abstracts away a lot of of the kubernetes learning for a lot of of the kubernetes learning for a lot of of the kubernetes learning for you and this is uh this is going to you and this is uh this is going to you and this is uh this is going to hamper you in your learning so I advise hamper you in your learning so I advise hamper you in your learning so I advise against using mini

  5. against using mini against using mini Cube then there's also podman podman is Cube then there's also podman podman is Cube then there's also podman podman is also a viable option also a viable option also a viable option however like I've been using rencher however like I've been using rencher however like I've been using rencher desktop for two years and recently I I desktop for two years and recently I I desktop for two years and recently I I tried well let's I saw a video about tried well let's I saw a video about tried well let's I saw a video about podman I thought well let's give it a podman I thought well let's give it a podman I thought well let's give it a try and I can only speak to my try and I can only speak to my try and I can only speak to my experience from running on Silicon Max I experience from running on Silicon Max I experience from running on Silicon Max I mean I daily drive Linux now I hardly mean I daily drive Linux now I hardly mean I daily drive Linux now I hardly use my Mac anymore there I just run it use my Mac anymore there I just run it use my Mac anymore there I just run it natively but on my silicon Mac when I natively but on my silicon Mac when I natively but on my silicon Mac when I uninstalled Rancher desktop and I uninstalled Rancher desktop and I uninstalled Rancher desktop and I installed installed installed podman it didn't work I mean I could run podman it didn't work I mean I could run podman it didn't work I mean I could run a couple of containers but when I a couple of containers but when I a couple of containers but when I started doing some more advanced things started doing some more advanced things started doing some more advanced things like wanting to run a kubernetes cluster like wanting to run a kubernetes cluster like wanting to run a kubernetes cluster or running Dev containers most or running Dev containers most or running Dev containers most importantly that's my main use case for importantly that's my main use case for importantly that's my main use case for running containers on my local machine running containers on my local machine running containers on my local machine now it didn't work I had to do all sorts now it didn't work I had to do all sorts now it didn't work I had to do all sorts of magic in order to get my Dev of magic in order to get my Dev of magic in order to get my Dev containers running using Dev pod and containers running using Dev pod and containers running using Dev pod and even when I got it running I was still even when I got it running I was still even when I got it running I was still running into problems because the running into problems because the running into problems because the underlying virtual machine that podman underlying virtual machine that podman underlying virtual machine that podman creates has more creates has more creates has more limitations uh with through SE Linux limitations uh with through SE Linux limitations uh with through SE Linux than Rancher desktop does and because than Rancher desktop does and because than Rancher desktop does and because that's the whole point of these tools that's the whole point of these tools that's the whole point of these tools what Rancher desktop and and podman do what Rancher desktop and and podman do what Rancher desktop and and podman do is they you you have your laptop to here is they you you have your laptop to here is they you you have your laptop to here and then what they do is they create a and then what they do is they create a and then what they do is they create a virtual machine for you and then on that virtual machine for you and then on that virtual machine for you and then on that virtual machine you can create your virtual machine you can create your virtual machine you can create your containers and you can run your

  6. containers and you can run your containers and you can run your kubernetes cluster with your pods in it kubernetes cluster with your pods in it kubernetes cluster with your pods in it the the containers are not actually the the containers are not actually the the containers are not actually running on your host OS like they would running on your host OS like they would running on your host OS like they would do on Linux when you run Docker on Linux do on Linux when you run Docker on Linux do on Linux when you run Docker on Linux then they just share the kernel but here then they just share the kernel but here then they just share the kernel but here you actually running this in a virtual you actually running this in a virtual you actually running this in a virtual machine so all that brancher desktop and machine so all that brancher desktop and machine so all that brancher desktop and podman are are a fancy way to run a podman are are a fancy way to run a podman are are a fancy way to run a virtual machine with Docker in it that's virtual machine with Docker in it that's virtual machine with Docker in it that's basically what they do but podman was a basically what they do but podman was a basically what they do but podman was a lot uh more difficult um also because lot uh more difficult um also because lot uh more difficult um also because the docker command gets replaced with the docker command gets replaced with the docker command gets replaced with potman or you should replace the docker potman or you should replace the docker potman or you should replace the docker command with podman uh some of my command with podman uh some of my command with podman uh some of my underlying tooling did not work because underlying tooling did not work because underlying tooling did not work because they assume that podman or the docker they assume that podman or the docker they assume that podman or the docker command is used so I had to write write command is used so I had to write write command is used so I had to write write rewrite scripts for that and yeah it rewrite scripts for that and yeah it rewrite scripts for that and yeah it long story short it didn't work out of long story short it didn't work out of long story short it didn't work out of the box for me on Silicon Mac whereas the box for me on Silicon Mac whereas the box for me on Silicon Mac whereas Rancher desktop does so maybe in the Rancher desktop does so maybe in the Rancher desktop does so maybe in the future it will out out um outperform future it will out out um outperform future it will out out um outperform Rancher desktop but for now Rancher Rancher desktop but for now Rancher Rancher desktop but for now Rancher desktop rules it rules the world in desktop rules it rules the world in desktop rules it rules the world in terms of running containers and terms of running containers and terms of running containers and kubernetes easily everywhere so you kubernetes easily everywhere so you kubernetes easily everywhere so you install it with one install it with one install it with one click and then the features that you get click and then the features that you get click and then the features that you get are super nice so what I like about it are super nice so what I like about it are super nice so what I like about it is that there is no fluff there is is that there is no fluff there is is that there is no fluff there is actually very little that you can do in actually very little that you can do in actually very little that you can do in this UI here there's very little that

  7. this UI here there's very little that this UI here there's very little that you can Tinker with or mess around with you can Tinker with or mess around with you can Tinker with or mess around with it's really it's really it's really straightforward so let's check out what straightforward so let's check out what straightforward so let's check out what we have when we start it up you have we have when we start it up you have we have when we start it up you have your general settings then you have your your general settings then you have your your general settings then you have your containers so you have your overview of containers so you have your overview of containers so you have your overview of running containers on your current running containers on your current running containers on your current machine and then you can stop them and machine and then you can stop them and machine and then you can stop them and you can manage them from here you can you can manage them from here you can you can manage them from here you can delete them next we have port forwarding delete them next we have port forwarding delete them next we have port forwarding I'm going to uh come back to this soon I'm going to uh come back to this soon I'm going to uh come back to this soon but here you when you run a normal but here you when you run a normal but here you when you run a normal Docker container then you can actually Docker container then you can actually Docker container then you can actually configure port forwarding right from configure port forwarding right from configure port forwarding right from this this this tool then you have your images so you tool then you have your images so you tool then you have your images so you see all of the images that are cached on see all of the images that are cached on see all of the images that are cached on your machine and they are all cached in your machine and they are all cached in your machine and they are all cached in your Rancher desktop VM so when you your Rancher desktop VM so when you your Rancher desktop VM so when you delete Ranch desktop and your VM then delete Ranch desktop and your VM then delete Ranch desktop and your VM then all of it is gone which is all of it is gone which is all of it is gone which is great you have snapshots I have not used great you have snapshots I have not used great you have snapshots I have not used this myself but I I can imagine this is this myself but I I can imagine this is this myself but I I can imagine this is useful and then you can check out the useful and then you can check out the useful and then you can check out the logs and this is a very useful little logs and this is a very useful little logs and this is a very useful little button here reset kubernetes so when button here reset kubernetes so when button here reset kubernetes so when you're tinkering and you mess something you're tinkering and you mess something you're tinkering and you mess something up and or you just want to have a fresh up and or you just want to have a fresh up and or you just want to have a fresh start all you do is you click reset start all you do is you click reset start all you do is you click reset kubernetes and you're it just completely kubernetes and you're it just completely kubernetes and you're it just completely wipes it and Spins up a fresh cluster wipes it and Spins up a fresh cluster wipes it and Spins up a fresh cluster for you and that's it it's so for you and that's it it's so for you and that's it it's so easy Diagnostics is pretty good good uh easy Diagnostics is pretty good good uh easy Diagnostics is pretty good good uh and then we have the extensions I have and then we have the extensions I have and then we have the extensions I have not used any of these extensions but uh not used any of these extensions but uh not used any of these extensions but uh it's handy to know that there are it's handy to know that there are it's handy to know that there are extensions for you to be um trying out

  8. extensions for you to be um trying out extensions for you to be um trying out and the preferences as well are very and the preferences as well are very and the preferences as well are very very intuitive and easy so you have to very intuitive and easy so you have to very intuitive and easy so you have to uh when running on Mac I recommend using uh when running on Mac I recommend using uh when running on Mac I recommend using it on um with administrative credentials it on um with administrative credentials it on um with administrative credentials pseudo XIs it has to do with networking pseudo XIs it has to do with networking pseudo XIs it has to do with networking I actually did I reinstalled recently I I actually did I reinstalled recently I I actually did I reinstalled recently I still have to enable it but you I on Mac still have to enable it but you I on Mac still have to enable it but you I on Mac OS you should um you have your startup OS you should um you have your startup OS you should um you have your startup options and then I have my path to be options and then I have my path to be options and then I have my path to be configured manually so I have this in my configured manually so I have this in my configured manually so I have this in my zshell RC file but you can also set up zshell RC file but you can also set up zshell RC file but you can also set up automatic and then it will just add it automatic and then it will just add it automatic and then it will just add it to your bash RC or zshell to your bash RC or zshell to your bash RC or zshell RC you can configure which um RC you can configure which um RC you can configure which um virtualization framework you want to use virtualization framework you want to use virtualization framework you want to use I just Ed the normal Q I just Ed the normal Q I just Ed the normal Q emu and then you can type emu and then you can type emu and then you can type check just the volumes but also how much check just the volumes but also how much check just the volumes but also how much resources you wanted to use so I'm I am resources you wanted to use so I'm I am resources you wanted to use so I'm I am a very heavy container user I work a very heavy container user I work a very heavy container user I work exclusively on containers these days exclusively on containers these days exclusively on containers these days using Dev containers so I give it a fair using Dev containers so I give it a fair using Dev containers so I give it a fair amount of resources about half that my amount of resources about half that my amount of resources about half that my PC has to offer my Mac has to offer you PC has to offer my Mac has to offer you PC has to offer my Mac has to offer you can check out which container engine you can check out which container engine you can check out which container engine you um want to use you can use container D um want to use you can use container D um want to use you can use container D or dockerd or dockerd or dockerd Mobi you can even track Tinker with web Mobi you can even track Tinker with web Mobi you can even track Tinker with web assembly and you can allow image assembly and you can allow image assembly and you can allow image patterns and then here you can patterns and then here you can patterns and then here you can um you can select the kubernetes version um you can select the kubernetes version um you can select the kubernetes version and the port of the API server but you and the port of the API server but you and the port of the API server but you can also just disable kubernetes which

  9. can also just disable kubernetes which can also just disable kubernetes which is very useful like you can just use is very useful like you can just use is very useful like you can just use Rancher desktop as a replacement for Rancher desktop as a replacement for Rancher desktop as a replacement for Docker desktop and then you just use uh Docker desktop and then you just use uh Docker desktop and then you just use uh that for your Docker and done it's it that for your Docker and done it's it that for your Docker and done it's it works it works perfectly that way so you works it works perfectly that way so you works it works perfectly that way so you can just turn it off or turn it on and can just turn it off or turn it on and can just turn it off or turn it on and then you have your kubernetes cluster so then you have your kubernetes cluster so then you have your kubernetes cluster so when you have installed your Rancher when you have installed your Rancher when you have installed your Rancher desktop and it's added to your path you desktop and it's added to your path you desktop and it's added to your path you do kg get pods then you should see do kg get pods then you should see do kg get pods then you should see your containers or your pods running on your containers or your pods running on your containers or your pods running on your on your freshly installed your on your freshly installed your on your freshly installed kubernetes cluster so you see that it is kubernetes cluster so you see that it is kubernetes cluster so you see that it is using the traffic Ingress controller you using the traffic Ingress controller you using the traffic Ingress controller you have your local path provisioner so you have your local path provisioner so you have your local path provisioner so you can create persistent volumes and you can create persistent volumes and you can create persistent volumes and you have your service lb traffic pod here have your service lb traffic pod here have your service lb traffic pod here which is a helper pod that allows you to which is a helper pod that allows you to which is a helper pod that allows you to provision low balancer services so all provision low balancer services so all provision low balancer services so all this so basically what Rancher desktop this so basically what Rancher desktop this so basically what Rancher desktop has done is create a virtual machine for has done is create a virtual machine for has done is create a virtual machine for you where it runs k3s and k3s is also you where it runs k3s and k3s is also you where it runs k3s and k3s is also something that you could install on for something that you could install on for something that you could install on for example a Raspberry Pi which is what I example a Raspberry Pi which is what I example a Raspberry Pi which is what I do in my kubernetes home lab course uh do in my kubernetes home lab course uh do in my kubernetes home lab course uh this is a 10hour course where you will this is a 10hour course where you will this is a 10hour course where you will learn how to set up a kubernetes home learn how to set up a kubernetes home learn how to set up a kubernetes home lab from scratch I'm using a Raspberry lab from scratch I'm using a Raspberry lab from scratch I'm using a Raspberry Pi that costs $50 to start the home lab Pi that costs $50 to start the home lab Pi that costs $50 to start the home lab just to prove the point but we go just to prove the point but we go just to prove the point but we go through setting up the the Complete Home through setting up the the Complete Home through setting up the the Complete Home lab using gitops and like there is a one lab using gitops and like there is a one lab using gitops and like there is a one and a half hours on just gitops alone

  10. and a half hours on just gitops alone and a half hours on just gitops alone and the theory and the application and the theory and the application and the theory and the application practical application for it and then practical application for it and then practical application for it and then we're going to deploy an application and we're going to deploy an application and we're going to deploy an application and then expose it to the internet safely then expose it to the internet safely then expose it to the internet safely without having to expose your actual without having to expose your actual without having to expose your actual router to the internet through tunnels router to the internet through tunnels router to the internet through tunnels so it's a complete master class on so it's a complete master class on so it's a complete master class on building a kubernetes home lab and building a kubernetes home lab and building a kubernetes home lab and creating applications that you can creating applications that you can creating applications that you can access from your phone even when it's access from your phone even when it's access from your phone even when it's just running here at home in your closet just running here at home in your closet just running here at home in your closet so it's a great great resource I've been so it's a great great resource I've been so it's a great great resource I've been getting so much positive feedback on it getting so much positive feedback on it getting so much positive feedback on it I think you might like I think you might like I think you might like it and in there we also use k3s to it and in there we also use k3s to it and in there we also use k3s to install that and the great thing about install that and the great thing about install that and the great thing about k3s is that it has the service lb k3s is that it has the service lb k3s is that it has the service lb functionality because if you're running functionality because if you're running functionality because if you're running kubernetes on Prem on bare metal then if kubernetes on Prem on bare metal then if kubernetes on Prem on bare metal then if you create a low balancer then there's you create a low balancer then there's you create a low balancer then there's no way for it to assign an external IP no way for it to assign an external IP no way for it to assign an external IP so in the cloud when you have managed so in the cloud when you have managed so in the cloud when you have managed kubernetes when you create a low kubernetes when you create a low kubernetes when you create a low balancer service then the cloud balancer service then the cloud balancer service then the cloud controller manager will create a cloud controller manager will create a cloud controller manager will create a cloud low balancer for you so that your low balancer for you so that your low balancer for you so that your kubernetes cluster is reachable from the kubernetes cluster is reachable from the kubernetes cluster is reachable from the internet on an external IP address but internet on an external IP address but internet on an external IP address but on bare metal it doesn't work and then on bare metal it doesn't work and then on bare metal it doesn't work and then you're your low balancer just gets stuck you're your low balancer just gets stuck you're your low balancer just gets stuck in pending and if this is not your first in pending and if this is not your first in pending and if this is not your first rodeo with trying with running rodeo with trying with running rodeo with trying with running kubernetes then you have definitely um kubernetes then you have definitely um kubernetes then you have definitely um been in that situation but service lb been in that situation but service lb been in that situation but service lb fixes that so that's great so let's fixes that so that's great so let's fixes that so that's great so let's check out how we can uh then test that

  11. check out how we can uh then test that check out how we can uh then test that out so here we have our I just wrote a out so here we have our I just wrote a out so here we have our I just wrote a very simple deployment with our of very simple deployment with our of very simple deployment with our of course our favorite image engine course our favorite image engine course our favorite image engine X we are exposing the container Port 80 X we are exposing the container Port 80 X we are exposing the container Port 80 and then we are add a service of the and then we are add a service of the and then we are add a service of the type low balancer that runs on Port 3000 type low balancer that runs on Port 3000 type low balancer that runs on Port 3000 but then forwards it to Port 80 on the but then forwards it to Port 80 on the but then forwards it to Port 80 on the engine X deployment so if I apply this engine X deployment so if I apply this engine X deployment so if I apply this file to my cluster then here I see that file to my cluster then here I see that file to my cluster then here I see that my uh engine X deployment is now my uh engine X deployment is now my uh engine X deployment is now creating but what we also see is that creating but what we also see is that creating but what we also see is that there is now a svcb engine X service pod there is now a svcb engine X service pod there is now a svcb engine X service pod running so that's very interesting so running so that's very interesting so running so that's very interesting so this is done by the service lb traffic this is done by the service lb traffic this is done by the service lb traffic controller and this actually deploys a controller and this actually deploys a controller and this actually deploys a helper pod which makes your service helper pod which makes your service helper pod which makes your service available to the to get an external IP available to the to get an external IP available to the to get an external IP so if I do K get SVC then I have my so if I do K get SVC then I have my so if I do K get SVC then I have my external IP here and I Port that is now external IP here and I Port that is now external IP here and I Port that is now forwarding to my engine X deployment so forwarding to my engine X deployment so forwarding to my engine X deployment so if I do Local Host 3000 then here we go if I do Local Host 3000 then here we go if I do Local Host 3000 then here we go here we see my engine X now if I had my here we see my engine X now if I had my here we see my engine X now if I had my admin my admin privileges on then I admin my admin privileges on then I admin my admin privileges on then I could also add this external IP but the could also add this external IP but the could also add this external IP but the way this works on Mac OS is that it only way this works on Mac OS is that it only way this works on Mac OS is that it only works that way with uh when you have works that way with uh when you have works that way with uh when you have your admin privileges on which your admin privileges on which your admin privileges on which unfortunately I don't but you do have unfortunately I don't but you do have unfortunately I don't but you do have the local host and then when I go into the local host and then when I go into the local host and then when I go into my Rancher desktop UI here then if I

  12. my Rancher desktop UI here then if I my Rancher desktop UI here then if I check out port forwarding here we see my check out port forwarding here we see my check out port forwarding here we see my enginex service so it is already enginex service so it is already enginex service so it is already forwarded because I'm exposing it to an forwarded because I'm exposing it to an forwarded because I'm exposing it to an external IP but I could also o forward external IP but I could also o forward external IP but I could also o forward it from here by just clicking the it from here by just clicking the it from here by just clicking the forward here and then now I have a port forward here and then now I have a port forward here and then now I have a port that is forwarded and then I can just enter this forwarded and then I can just enter this into my browser and then this is now into my browser and then this is now into my browser and then this is now routed routed routed through this is now routed through through this is now routed through through this is now routed through Rancher desktop as well so it gives you Rancher desktop as well so it gives you Rancher desktop as well so it gives you it it gives you all you need to start it it gives you all you need to start it it gives you all you need to start learning learning learning kubernetes very easily to get up and kubernetes very easily to get up and kubernetes very easily to get up and running within a few minutes and that's running within a few minutes and that's running within a few minutes and that's the most important thing when you start the most important thing when you start the most important thing when you start learning kubernetes in short wrencher learning kubernetes in short wrencher learning kubernetes in short wrencher desktop is the number one tool to run to desktop is the number one tool to run to desktop is the number one tool to run to install when you need Docker a container install when you need Docker a container install when you need Docker a container runtime and kubernetes on your local runtime and kubernetes on your local runtime and kubernetes on your local machine if you want to start learning machine if you want to start learning machine if you want to start learning kubernetes take my word for it I've kubernetes take my word for it I've kubernetes take my word for it I've taught thousands of students and if you taught thousands of students and if you taught thousands of students and if you want to learn more from me about want to learn more from me about want to learn more from me about kubernetes devops and ask me questions kubernetes devops and ask me questions kubernetes devops and ask me questions directly jump in my c cubecraft directly jump in my c cubecraft directly jump in my c cubecraft community and and learn from the experts community and and learn from the experts community and and learn from the experts not just from me but from uh nearly 500 not just from me but from uh nearly 500 not just from me but from uh nearly 500 industry experts that are all ready to industry experts that are all ready to industry experts that are all ready to help you hope to see you there and see help you hope to see you there and see help you hope to see you there and see you in the next one

Summary

The main theme is about learning Kubernetes effectively with the right tools. The key subjects mentioned are Kubernetes itself, Rancher Desktop, Cube ADM, and k3s, with a scripture-like emphasis on "just works" and minimizing struggle. The practical takeaway is to use tools like Rancher Desktop to quickly set up a local Kubernetes environment, allowing you to focus on learning core concepts rather than installation hurdles, with a bare-metal homelab being the ultimate learning ideal.

View original episode ↗