How to Build an Awesome Kubernetes Cluster using Proxmox Virtual Environment

Proxmox Virtual Environment is an awesome virtualization solution. Kubernetes is an awesome containerization solution. So why not combine those great technologies? In this video, you'll see the entire process of setting up your very own Kubernetes cluster from scratch, with Proxmox shown as the platform. But even if you don't plan on using Proxmox, this method will work just fine on other solutions as well, including physical servers. By the end of this video, you'll have your own cluster ready to go!

Join this channel to get access to perks:

Official blog post for this video ➜ https://learnlinux.link/pve-k8s-blog

## Support LearnLinuxTV (commission earned):
- Get your own cloud server with Linode ➜ https://learnlinux.link/linode
- Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
- Check out my latest book, Mastering Ubuntu Server 4th Edition ➜ http://ubuntuserverbook.com
- Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
- Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
- Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot

## Individual sections:
00:00 - How to support LearnLinuxTV
00:47 - Intro and overview of our project
03:02 - My new book, Mastering Ubuntu Server 4th Edition (not sponsored, quick mention)
04:44 - What do you need in order to get started?
07:32 - Spinning up some Ubuntu instances on Proxmox using a template
13:26 - Misc tweaks and adjustments before setting up the cluster
15:21 - Adding a static IP to our Ubuntu instance
21:15 - Installing a container runtime (containerd)
25:35 - Disabling swap
26:35 - Enabling bridging in /etc/sysctl.conf
27:22 - Enabling br_netfilter
29:04 - Installing the Kubernetes repository and required packages
33:19 - Creating a template for kubernetes nodes
36:45 - Setting CPU and other options before creating our cluster
40:00 - Initializing the Kubernetes cluster
44:14 - Adding an overlay network to our cluster
45:11 - Joining nodes to our cluster
49:03 - Launching an nginx container within a Kubernetes cluster
52:15 - Exposing the container to the outside network via a nodeport service

## Other Proxmox episodes:
Class 01 - Getting Started: https://linux.video/pve1
Class 02 - Installation Process: https://linux.video/pve2
Class 03 - Web Console Overview: https://linux.video/pve3
Class 04 - Containers vs Virtual Machines: https://linux.video/pve4
Class 05 - Launching a Virtual Machine: https://linux.video/pve5
Class 06 - Setting up Virtual Machine Templates: https://linux.video/pve6
Class 07 - Creating Containers: https://linux.video/pve7
Class 08 - Setting up Container Templates: https://linux.video/pve8
Class 09 - User Management: https://linux.video/pve9
Class 10 - Backups and Snapshots: https://linux.video/pve10
Class 11 - Integrated Firewall: https://linux.video/pve11
Class 12 - Command-line Interface: https://linux.video/pve12
Class 13 - Networking: https://linux.video/pve13
Class 14 - Shared storage: https://linux.video/pve14
Class 15 - Clustering: https://linux.video/pve15
Class 16 - High availability: This video
Bonus video 1 - Launching a Windows VM: https://linux.video/pve-win
Bonus video 2 - Getting started with Proxmox Backup Server: https://linux.video/pbs
Bonus video 3 - Proxmox VE - How to build an Ubuntu 22.04 Template (Updated Method): https://linux.video/pve-2204
Bonus video 4 - Build a Kubernetes Cluster on Proxmox: This video

## Recommended evergreen videos:
- How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
- Understanding Linux permissions ➜ https://linux.video/perms
- OpenSSH Guide ➜ https://linux.video/ssh
- LVM Deep-dive ➜ https://linux.video/lvm
- How to better secure OpenSSH ➜ https://linux.video/secure-ssh

## LearnLinuxTV Links:
- Main site ➜ https://www.learnlinux.tv
- Community ➜ https://community.learnlinux.tv

## About the host
- Personal blog ➜ https://www.jaylacroix.com
- Twitter ➜ https://learnlinux.link/twitter

## FAQ
- Which distro do I use? ➜ https://learnlinux.link/mydistro
- My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

Disclaimer: LearnLinuxTV provides technical content on YouTube that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of this content. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production systems and hardware.

#Proxmox #K8s #Homelab
Be the first to comment