Longhorn In Action: A Mini Course on Kubernetes Storage Solutions

CodeOps By Mo February 14, 2025
Video Thumbnail
CodeOps By Mo Logo

CodeOps By Mo

View Channel

About

Welcome to CodeOps By Mo! 🚀 Explore cutting-edge DevOps technologies with hands-on tutorials, deep dives, and practical solutions to boost your tech skills

Video Description

📌 Welcome to "Longhorn in Action: A Mini Course on Kubernetes Storage Solutions"! In this hands-on tutorial, we'll walk you through everything you need to know about using Longhorn to manage persistent storage on Kubernetes. This mini-course will cover everything from architecture to backup and restore scenarios for real-world applications. First, we dive into Longhorn's architecture to understand how it works in a Kubernetes environment. Next, we walk through the installation of Longhorn on a live Kubernetes cluster. Afterward, we set up a real application with Longhorn volumes, and get familiar with essential features that Longhorn offers, such as: Replicas: How to manage and update volume replicas for redundancy. Data Locality: Ensuring data is placed efficiently to reduce latency. Replica Auto Balance: Automatically distributing replicas across the cluster. Snapshot Data Integrity: Protecting the integrity of your data through snapshots. Trim Filesystem: Improving storage efficiency by trimming unused blocks in the filesystem. Node/Disk/Zone Level Soft Anti-Affinity: Optimizing volume placement for fault tolerance. Finally, we dive into a real-world backup and restore scenario, where we simulate data destruction and then restore it from a Longhorn volume backup, showcasing Longhorn's powerful backup and restore capabilities. --- ⏰ Timestamps for Easy Navigation: 00:00 Overview of Longhorn Architecture 03:51 Installing Longhorn on Kubernetes Cluster 12:55 Setting Up a Real Application with Persistent Volumes 19:13 Updating Volume Replicas 21:44 Understanding Data Locality in Longhorn Volumes 23:10 Understanding Snapshot Data Integrity in Longhorn Volumes 25:17 Understanding Replicas Auto Balance in Longhorn Volumes 27:30 Understanding Trimming in Longhorn Volumes 28:42 Understanding Node/Disk/Zone Level Soft Anti-Affinity in Longhorn Volumes 32:22 Backup and Restore with Longhorn: A Real-World Scenario --- 📌 Subscribe to CodeOpsByMo for more hands-on DevOps tutorials. 👍 Like the video if you found it helpful, and let us know your thoughts in the comments!

You May Also Like

Boost Your Kubernetes Storage

AI-recommended products based on this video

Loading...
FYOUNG Upgrade Cooling Fan Stand &Controller Charging Station for Xbox Series X with 15RGB Light, Charger Dock for Console Accessories Storage with 2 Rechargeable Batteries, 3-Levels Fan Cooler System

FYOUNG Upgrade Cooling Fan Stand &Controller Charging Station for Xbox Series X with 15RGB Light, Charger Dock for Console Accessories Storage with 2 Rechargeable Batteries, 3-Levels Fan Cooler System

(212)
$59.99
PrimeFREE delivery Sat, Jun 14
Loading...
Seagate Portable 4TB External Hard Drive HDD – USB 3.0 for PC, Mac, Xbox, & PS4 - 1-Year Rescue Service (STGX4000400)
Amazon's Choice

Seagate Portable 4TB External Hard Drive HDD – USB 3.0 for PC, Mac, Xbox, & PS4 - 1-Year Rescue Service (STGX4000400)

(252,140)
$144.99$130.49
FREE delivery Tue, Jun 17
500+ bought in past month
Loading...
Seagate Game Drive 4TB External Hard Drive Portable HDD - Compatible With PS4 (STGD4000400) blue

Seagate Game Drive 4TB External Hard Drive Portable HDD - Compatible With PS4 (STGD4000400) blue

(11,894)
$222.28
Loading...
Crucial X9 4TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive, Compatible with Windows, Mac, & Android, Reliable Storage for Games, Files, & Backups, Black - CT4000X9SSD902

Crucial X9 4TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive, Compatible with Windows, Mac, & Android, Reliable Storage for Games, Files, & Backups, Black - CT4000X9SSD902

(19,722)
$315.09
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Crucial X10 Pro 4TB Portable SSD, Up to 2100MB/s Read, 2000MB/s Write, 3.2 USB-C, External Solid State Drive, Durable Storage for PC & Mac, for Professional Creators, Black - ‎CT4000X10PROSSD902

Crucial X10 Pro 4TB Portable SSD, Up to 2100MB/s Read, 2000MB/s Write, 3.2 USB-C, External Solid State Drive, Durable Storage for PC & Mac, for Professional Creators, Black - ‎CT4000X10PROSSD902

(2,557)
$358.93
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Crucial X9 Pro 4TB Portable SSD, Up to 1050MB/s Read & Write, 3.2 USB-C, External Solid State Drive, Durable Storage for PC and Mac, for Professional Creators, Silver - ‎CT4000X9PROSSD902

Crucial X9 Pro 4TB Portable SSD, Up to 1050MB/s Read & Write, 3.2 USB-C, External Solid State Drive, Durable Storage for PC and Mac, for Professional Creators, Silver - ‎CT4000X9PROSSD902

(3,702)
$326.05$260.70
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Crucial T705 4TB PCIe Gen5 NVMe M.2 SSD - Up to 14,100 MB/s - Game Ready - Internal Solid State Drive (PC) - +1mo Adobe CC - CT4000T705SSD3

Crucial T705 4TB PCIe Gen5 NVMe M.2 SSD - Up to 14,100 MB/s - Game Ready - Internal Solid State Drive (PC) - +1mo Adobe CC - CT4000T705SSD3

(2,172)
$599.11
FREE delivery Jun 17 - 18
Loading...
Western Digital 4TB My Passport Portable External Hard Drive HDD, USB 3.0, USB 2.0 Compatible, Black - WDBPKJ0040BBK-WESN

Western Digital 4TB My Passport Portable External Hard Drive HDD, USB 3.0, USB 2.0 Compatible, Black - WDBPKJ0040BBK-WESN

(111,552)
$154.99$139.49
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

(181)
$70.15$61.13
$5.05 delivery Thu, Jun 26Only 3 left in stock.
Loading...
9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

(261)
$99.99
FREE delivery Sat, Sep 20
1K+ bought in past month