Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes

VirtualizationHowto December 27, 2022
Video Thumbnail
VirtualizationHowto Logo

VirtualizationHowto

View Channel

About

Hello! Brandon Lee. I help to educate people about technology, explaining very complex topics simply. You will find all types of technology topics covered here such as Cloud, Enterprise virtualization, Kubernetes, Containers, Networking, Home lab environments, and just all around nerd stuff!

Video Description

Windows Subsystem for Linux is a great way to easily get your hands on a Linux environment with a native Bash shell and interacting with native Linux tools. In this video, we take a look at the ultimate Windows Subsystem for Linux tweaks and tips for setting up your WSL environment for DevOps, automation, Kubernetes learning and testing, and more. Subscribe to the channel: https://www.youtube.com/channel/UCrxcWtpd1IGHG9RbD_9380A?sub_confirmation=1 My blog: https://www.virtualizationhowto.com _____________________________________________________ Social Media: https://twitter.com/vspinmaster LinkedIn: https://www.linkedin.com/in/brandon-lee-vht/ Github: https://github.com/brandonleegit Introduction to Windows Subsystem for Linux - 0:00 New Windows Subsystem for Linux WSL2 install process from Microsoft Store - 1:10 Looking at installing it from Microsoft Store 2:09 How can you tell if you have the latest version installed? 2:40 Overwriting installed version with the Store version - 3:14 Supressing the sudo password prompt - 3:54 Adding the command to suppress the sudo prompt - 4:35 Enabling systemd functionality in WSL 2 - 5:10 Editing the file to add systemd to WSL 2 - 5:45 Shutting down WSL after adding systemd - 6:15 Verifying systemd is installed - 6:30 Introducing Ansible - 6:47 Viewing the commands to install Ansible in WSL 2 - 7:10 Entering Kerberos realm - 8:07 Viewing Ansible version command - 8:18 Adding persistent aliases and why you want to do this - 8:32 Creating the file needed for persistent alias in WSL 2 - 8:53 Pasting in the command needed for the alias - 9:20 Testing the alias created - 10:14 Introducing PowerShell and why you can use it - 10:38 Looking at the commands in WSL for installing PowerShell - 11:02 Executing PowerShell in WSL - 12:08 Adding the VMware PowerCLI module - 12:35 Verifying the VMware PowerCLI installation - 13:13 Working with files between WSL and your Windows WSL host - 13:30 Looking at file navigation, browsing, copying, editing between WSL and Windows host - 14:20 Looking at changing to a mounted Windows host directory in WSL - 14:49 Opening a location in WSL 2 in Windows Explorer - 15:27 Installing Kubernetes inside Windows Subsystem for Linux - 16:23 Viewing the command to install Microk8s - 17:05 Issuing microk8s status command - 17:22 Issuing microk8s kubectl commands - 17:38 Installing Minikube in WSL 2 - 18:02 After prerequisites, beginning Minkube installatio - 18:54 Starting the Minkube cluster - 19:36 Viewing Minkube cluster with kubectl - 19:51 Conclueding thoughts on Windows Subsystem for Linux tweaks - 20:00 Windows Subsystem for Linux now GA and how to install it: https://www.virtualizationhowto.com/2022/11/windows-subsystem-for-linux-microsoft-store-ga-and-now-default-wsl/ Windows Server 2022 WSL 2 support with KB5014021 Windows Update: https://www.virtualizationhowto.com/2022/05/windows-2022-wsl2-support-with-new-windows-update-kb5014021/

You May Also Like

Instant Crafting Kit Essentials

AI-recommended products based on this video

Loading...
DLseego Pink and Purple Switch Case Set Gradient Carrying Case with 10 Slots Cute Protective Dockable Hard Shell with 4PCS Glitter Cat Paw Thumb Grips Caps and 1PC Flower Blossom Chain For Switch 2017

DLseego Pink and Purple Switch Case Set Gradient Carrying Case with 10 Slots Cute Protective Dockable Hard Shell with 4PCS Glitter Cat Paw Thumb Grips Caps and 1PC Flower Blossom Chain For Switch 2017

(166)
$28.89
FREE delivery Sun, Jun 15 on your first order
Loading...
Legends of Rock & Metal Advent Calendar 2025, 24 Days Christmas Countdown Calendar with Iconic Musical Character Collectibles 2D Acrylic Ornaments for Rock and Metal Fans

Legends of Rock & Metal Advent Calendar 2025, 24 Days Christmas Countdown Calendar with Iconic Musical Character Collectibles 2D Acrylic Ornaments for Rock and Metal Fans

(2)
$14.99
$5.99 delivery Nov 25 - Dec 1
Loading...
ESR for iPhone 16 Case, Military-Grade Protection, Shockproof Air Guard Corners, Yellowing-Resistant Acrylic Back, Phone Case for iPhone 16, Air Armor Series, New Clear Blue

ESR for iPhone 16 Case, Military-Grade Protection, Shockproof Air Guard Corners, Yellowing-Resistant Acrylic Back, Phone Case for iPhone 16, Air Armor Series, New Clear Blue

(657)
$12.99
FREE delivery Sat, Jun 14 on your first order
Loading...
Clear Acrylic Cats Hair Collector with Cats Pendant Decoration Keychain Furs Container for Travel Friendly Shape Pet Memorial Box

Clear Acrylic Cats Hair Collector with Cats Pendant Decoration Keychain Furs Container for Travel Friendly Shape Pet Memorial Box

(0)
$7.43$3.50
FREE delivery Sep 11 - 16
Loading...
Handmade 3pcs in Set Cowboy Boots and Hat Clip on Charm for Diy Necklace Bracelet Bags, Enamel Charm Western Style Jewelry Accessories

Handmade 3pcs in Set Cowboy Boots and Hat Clip on Charm for Diy Necklace Bracelet Bags, Enamel Charm Western Style Jewelry Accessories

(0)
$11.02
FREE delivery Sat, Jun 14 on your first order
Loading...
Paper Cats Origami Kit, 50pcs DIY 3D Origami Animal Kit for Create Adorable Paper Cats, Creative Craft Activity for Cat Lovers, Fun Home Desk Decor, Christmas Birthday Gift(Cat)

Paper Cats Origami Kit, 50pcs DIY 3D Origami Animal Kit for Create Adorable Paper Cats, Creative Craft Activity for Cat Lovers, Fun Home Desk Decor, Christmas Birthday Gift(Cat)

(3)
$12.99
FREE delivery Fri, Dec 5 on your first order
700+ bought in past month
Loading...
Art Kit, 272 Pack Art Set Drawing Kit for Kids Girls Boys, Deluxe Gift Art Supplies with Trifold Easel, Origami Paper, Coloring Pad, Sketch Pad, Pastels, Crayons, Pencils, Watercolors (Pink)
Best Seller

Art Kit, 272 Pack Art Set Drawing Kit for Kids Girls Boys, Deluxe Gift Art Supplies with Trifold Easel, Origami Paper, Coloring Pad, Sketch Pad, Pastels, Crayons, Pencils, Watercolors (Pink)

(422)
$29.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
20PCS Beeswax Ear Candles Wax Removal, Ear Wax Candle Ear Wax Removal Kit Earwax Cleaner

20PCS Beeswax Ear Candles Wax Removal, Ear Wax Candle Ear Wax Removal Kit Earwax Cleaner

(0)
$3.99
$8.99 delivery Nov 26 - Dec 5
Loading...
BBQ Lighter,Barbecue Lighter,BBQ Long Reach Refillable Candle Fire for Indoor & Outdoor,Long Neck Adjustable Lighter Butane Gas Refillable Plastic Lighter Kitchen Igniter

BBQ Lighter,Barbecue Lighter,BBQ Long Reach Refillable Candle Fire for Indoor & Outdoor,Long Neck Adjustable Lighter Butane Gas Refillable Plastic Lighter Kitchen Igniter

(0)
$12.99
$1.99 delivery Jun 25 - Jul 8
Loading...
DLseego Cartoon Dog Switch Case Set Blue Carrying Case with 12 Slots Cute TPU Protective Case Soft Cover with 4PCS Lovely Puppy & Claw Thumb Grips Caps and 1PCS Kawaii Sticker for Switch 2017

DLseego Cartoon Dog Switch Case Set Blue Carrying Case with 12 Slots Cute TPU Protective Case Soft Cover with 4PCS Lovely Puppy & Claw Thumb Grips Caps and 1PCS Kawaii Sticker for Switch 2017

(63)
$30.59
FREE delivery Mon, Jun 16 on your first order
Loading...
SYCARON 200PCS Water Bottle Stickers for Kids, Waterproof Vinyl Stickers Laptop Decals Cute Sticker Packs Stickers for Girls Teens Adults (Animal Stickers)

SYCARON 200PCS Water Bottle Stickers for Kids, Waterproof Vinyl Stickers Laptop Decals Cute Sticker Packs Stickers for Girls Teens Adults (Animal Stickers)

(819)
$9.99
FREE delivery Sat, Jun 14 on your first order
600+ bought in past month
Loading...
Yuoolife 2025 Mosquito Repellent Sticker Patch 120 Count for Kids Adult Outdoor Indoor Travel Camping Hiking (Mix colors)

Yuoolife 2025 Mosquito Repellent Sticker Patch 120 Count for Kids Adult Outdoor Indoor Travel Camping Hiking (Mix colors)

(92)
$12.51
FREE delivery Thu, Aug 7 on your first order
1K+ bought in past month
Loading...
DOWN HOME Cooling Comforter Queen Size, Cooling Blanket for Hot Sleepers All Season, Q-max>0.4 Double-Side Cold Fabric, Bamboo Breathable Lightweight Summer Duvet Soft Quilt, Blue Strips, 90"x90" OEKO-TEX STANDARD 100

DOWN HOME Cooling Comforter Queen Size, Cooling Blanket for Hot Sleepers All Season, Q-max>0.4 Double-Side Cold Fabric, Bamboo Breathable Lightweight Summer Duvet Soft Quilt, Blue Strips, 90"x90" OEKO-TEX STANDARD 100

(37)
$112.99$99.99
$13.98 delivery Wed, Sep 3
Loading...
DOWN HOME Cooling Comforter King Size, Cooling Blanket for Hot Sleepers All Season, Q-max>0.4 Double-Side Cold Fabric, Bamboo Breathable Lightweight Summer Duvet Soft Quilt, Blue Strips, 90"x108" OEKO-TEX STANDARD 100
Best Seller

DOWN HOME Cooling Comforter King Size, Cooling Blanket for Hot Sleepers All Season, Q-max>0.4 Double-Side Cold Fabric, Bamboo Breathable Lightweight Summer Duvet Soft Quilt, Blue Strips, 90"x108" OEKO-TEX STANDARD 100

(33)
$115.49$109.99
$15.55 delivery Sep 9 - 11
1K+ bought in past month
Loading...
10pcs Joystick Drift Fix Repair Kit for Controller, 3D Analog Joystick Circuit Board Thumbsticks Drift Fix Mod for for, for Series S/X Controller

10pcs Joystick Drift Fix Repair Kit for Controller, 3D Analog Joystick Circuit Board Thumbsticks Drift Fix Mod for for, for Series S/X Controller

(2)
$19.43
FREE delivery Sun, Aug 24 on your first order