K2D by Portainer

Download MP3
Bret and Nirmal are joined by Neil Cresswell and Steven Kang from Portainer to look at K2D, a new project that enables us to leverage Kubernetes tooling to manage Docker containers on tiny devices at the far edge.


K2D stands for Kubernetes to Docker, which is a bit of a crazy idea -- it's a partial Kubernetes API running on top of Docker Engine without needing a full Kubernetes control plane. If you work with very small devices, including older Raspberry PIs, 32-bit machines, maybe industry sensors and the infrastructure we now call 'edge', the container hardware is often hard for you to make simple, reliable, and automated all at the same time.

So this project uses less resources than a single node K3S and still allows you to use Kubernetes tools to deploy and manage your containers, which are in fact just running on a Docker Engine with no full-fledged Kubernetes distribution going on there.

We get into far more detail on the architecture, the Portainer team's motivations for this new open source project and what its limitations are, because it's not real Kubernetes, so it can't do everything.

Be sure to check out the video version of this episode for any demos.

This episode is from our YouTube Live show on March 28, 2024 (Stream 260).

★Topics★
K2D website
K2D Docs

  • (00:00) - Intro
  • (02:40) - Introducing the guests
  • (03:56) - Why K2D? Architecture and Motivations
  • (05:55) - How Efficient is K2D?
  • (10:25) - K2D Architecture Explained: Components and Operations
  • (20:42) - What Happens When Resources are Exhausted?
  • (23:18) - K2D for Edge Deployment with Portainer or Argo CD
  • (28:22) - K2D Future Roadmap
  • (30:36) - Getting Started with K2D

You can also support my free material by subscribing to my YouTube channel and my weekly newsletter at bret.news!

Grab the best coupons for my Docker and Kubernetes courses.
Join my cloud native DevOps community on Discord.
Grab some merch at Bret's Loot Box
Homepage bretfisher.com

Creators and Guests

Bret Fisher
Host
Bret Fisher
Cloud native DevOps Dude. Course creator, YouTuber, Podcaster. Docker Captain and CNCF Ambassador. People person who spends too much time in front of a computer.
Nirmal Mehta
Host
Nirmal Mehta
Principal Specialist Solutions Architect at Amazon Web Services (AWS)
Beth Fisher
Producer
Beth Fisher
Producer of DevOps and Docker Talk podcast since 2019. Assistant producer on Bret Fisher Live show on YouTube. Business and proposal writer by trade.
Cristi Cotovan
Editor
Cristi Cotovan
Video editor and educational content producer. Descript and Camtasia coach.
Neil Cresswell
Guest
Neil Cresswell
co-founder and ceo of https://t.co/ovBv00Ic4R
Steven Kang
Guest
Steven Kang
Product Engineering Lead @portainerio. Tweets are my own
K2D by Portainer
Broadcast by