Install K3s on Ubuntu 22.04 using K3D and Docker - Learning Kubernetes

Published: 28 April 2022
on channel: VirtualizationHowto
8,546
138

Spinning up a Kubernetes cluster for learning, labbing, PoCs, and development should not be difficult. Using just a few simple tools, we can spin up a fully functional Kubernetes cluster running on a single Ubuntu virtual machine using a lightweight Kubernetes distribution called K3s from Rancher. A commandline utility called K3D can be used to spin up K3s inside Docker containers. We can then spin up a real-world workload such as Portainer to run on top of the newly formed Kubernernetes cluster.

Subscribe to the channel:    / @virtualizationhowto  

My blog: https://www.virtualizationhowto.com

_____________________________________________________

Social Media:   / vspinmaster  
LinkedIn:   / brandon-lee-vht  
Github: https://github.com/brandonleegit


Introduction - 0:00
Overview of installation environment with Ubuntu 22.04 LTS - 0:40
Checking Docker version - 1:00
Downloading and installing kubectl - 1:10
Installing the K3D utility - 1:20
Creating a test cluster using K3D - 1:49
Stepping through the K3D cluster creation command - 2:00
K3D spins up the Kubernetes cluster using K3s - 3:12
Using kubectl to interact with the Kubernetes cluster - 3:30
Talking through installing Portainer in the K3s cluster - 4:14
Running the command to install Portainer in the cluster - 4:35
Browsing to the NodePort to test the Portainer installation - 4:50
Concluding thoughts around K3s K3D and learning Kubernetes - 5:10

If you would like to see this post in blog format, check out the written step-by-step instructions to install K3s on Ubuntu with K3D in Docker here:

- https://www.virtualizationhowto.com/2...


Watch video Install K3s on Ubuntu 22.04 using K3D and Docker - Learning Kubernetes online without registration, duration hours minute second in high quality. This video was added by user VirtualizationHowto 28 April 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,546 once and liked it 138 people.