Rancher, Kubernetes, Docker
Curated by: Techno Tim (20 videos)
So you're a software engineer or a developer who wants to self-host your own code in your own homelab? Well this is the tutorial for you! In this step-by-step guide we'll walk through setting up a repo, building and testing our own code (with unit tests) in a self-hosted Gitlab CI runner in our CI pipeline, then we'll build a Docker image and push it up to a container registry, then we'll use kubectl in our CD pipeline to deploy our Docker container to our self-hosted kubernetes cluster! This all happens in a couple of minutes and then we'll truly have continuous integration and continuous delivery in our homelab! Video Notes: https://technotim.live/posts/self-hosted-devops-stack/ Support me on Patreon: https://www.patreon.com/technotim Sponsor me on GitHub: https://github.com/sponsors/timothystewart6 Subscribe on Twitch: https://www.twitch.tv/technotim Become a YouTube member: https://www.youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join Merch Shop: https://l.technotim.live/shop Gear Recommendations: https://l.technotim.live/gear Get Help in Our Discord Community: https://l.technotim.live/discord 2nd channel: https://www.youtube.com/@TechnoTimTalks (Affiliate links may be included in this description. I may receive a small commission at no cost to you.) Tim Kits: ► 4K YouTube Kit - https://kit.co/TechnoTim/4k-youtube-kit ► Pro Level Live Streaming Kit - https://kit.co/TechnoTim/pro-level-live-streaming-kit ► Budget Gaming Streaming PC 2020- https://kit.co/TechnoTim/budget-gaming-streaming-pc-2020 ► Performance Virtualization Server- https://kit.co/TechnoTim/performance-virtualization-nas-server ► Budget NAS Server- https://kit.co/TechnoTim/budget-nas-server ► Coding & Gaming Keyboards- https://kit.co/TechnoTim/coding-gaming-keyboards ► Coding & Gaming Mice- https://kit.co/TechnoTim/coding-gaming-mice 00:00 - Intro 00:20 - What are we going to do today? 00:45 - How did we get here? 01:48 - What will be build? 02:13 - Let's get started! 02:15 - We need a repo 02:30 - Let's create our first CI pipeline 03:22 - Let's create our own CI runner 04:05 - Let's configure our CI runner 05:04 - Confirm our CI runner is working 05:38 - Take our build and put it in a Docker container 06:25 - Create our Docker pipeline with kaniko 07:15 - Use standard version to automate your releases 07:59 - Run our Docker pipeline and verify 08:36 - What have we done so far? 08:52 - Create a private GitLab registry with Rancher 09:25 - Get registry token for GitLab 09:53 - Deploy a kubernetes workload from a private GitLab registry 10:25 - Let's create our CD and deploy to kubenetes 11:05 - Let's create our deploy pipeline 11:44 - Convert kube config file to a GitLab secret 12:16 - pbcopy your kube/config 12:51 - Create our GitLab secret 13:50 - Run our release! 14:19 - What do you think about hosting your own DevOps stack? 14:45 - Stream Highlight - What advice would you give to a friend interviewing for a software engineering position? 📯 Videos mentioned 📯 1 - Set Up Kubernetes with Rancher - https://www.youtube.com/watch?v=oILc0ywDVTk 2 - Set up a reverse proxy and SSL with Traefik - https://www.youtube.com/watch?v=pAM2GBCDGTo 3 - Expose Rancher and Kubernetes API Securely - https://www.youtube.com/watch?v=Af7HXhElams ⏯ Recommended Videos ⏯ ► 20 Ways to Use a Virtual Machine (and other ideas for your homelab) https://www.youtube.com/watch?v=SVQmzaSabEQ ► Remote Gaming with Promox https://www.youtube.com/watch?v=fgx3NMk6F54 ► Techno Tim Homelab Tour -- Server Rack and Network https://www.youtube.com/watch?v=23jbcw_n20I ► Homelab Services Tour -- What am I running on my Homelab? https://www.youtube.com/watch?v=NHvoN-phAgo ► Let's Build a Discord Bot Using DiscordJS - Moderator Bot https://www.youtube.com/watch?v=YSZcyz2-twQ #Homelab #SelfHosted #DevOps #Kubernetes #Rancher #GitLab #TechnoTim #Proxmox #Virtualization Thank you for watching!
Automatically track which videos you have watched. Your completion status is updated at a glance, preventing you from re-watching episodes by mistake.
Never lose your spot. Our custom player remembers your exact video and timestamp, allowing you to dive right back in seamlessly.
Sync your playlist states, watched progress, and premium preferences across your desktop, laptop, tablet, and mobile phone automatically.
Simply paste any YouTube playlist URL or channel link in the application search bar to immediately generate a custom, sorted, and progress-tracked workspace. No registration required to start.
Explore Playlist Guides & How-Tos