DevOps and Docker Talk: Cloud Native Interviews and Tooling

Kubernetes Autoscaling with Karpenter


Listen Later

🙌 My next course is coming soon! I've opened the waitlist for those wanting to go deep in GitHub Actions for DevOps and AI automation in 2025. I'm so thrilled to announce this course. The waitlist allows you to quickly sign up for some content updates, discounts, and more as I finish building the course. https://learn.bretfisher.com/waitlistđŸŸ


Bret is joined by Nirmal Mehta, a Principal Specialist Solution Architect at AWS, and a Docker Captain, to discuss Karpenter, an autoscaling solution launched by AWS in 2021. Karpenter simplifies Kubernetes infrastructure by automating node scaling up and down, giving you "the right nodes at the right time."

Autoscaling, particularly for Kubernetes, can be quite a complex project when you first start. Bret and Nirmal discuss how Karpenter works, how it can help or complement your existing setup, and how autoscaling generally works.

Streamed live on YouTube on June 9, 2022.


Unedited live recording of this show on YouTube (Ep #173). Includes demos.


★Topics★
Starship Shell Prompt
Bret's favorite shell setup
Karpenter
Karpenter release blog
K8s Scheduling Concepts

Other types of autoscalers:
Horizontal Pod Autoscaler
Vertical Pod Autoscaler
Cluster Autoscaler


★Nirmal Mehta★
Nirmal on Twitter
Nirmal on LinkedIn


★Join my Community★
Best coupons for my Docker and Kubernetes courses

Chat with us on our Discord Server Vital DevOps

Homepage bretfisher.com

  • (00:00) - DDT MAIN
  • (00:04) - Intro
  • (00:51) - Custom intro
  • (03:45) - Main Show
  • (03:49) - Introductions
  • (04:49) - Nirmal's Jobs
  • (05:35) - Talking about Kubernetes cluster scaling
  • (06:41) - Who are we addressing?
  • (08:06) - What is Karpenter not addressing?
  • (08:29) - Auto-scaling at pod level
  • (09:17) - Cluster auto-scaling
  • (10:44) - Karpenter is alternate to cluser autoscaler
  • (10:58) - Question
  • (11:48) - Issues Karpenter was created to address
  • (14:06) - What is Karpenter?
  • (15:28) - Selective instance type provisioning
  • (16:24) - Matching deployment definition to instance types
  • (17:45) - Question: Is Karpenter designed only for AWS?
  • (18:50) - Question: Can you auto-scale control plane nodes?
  • (20:58) - The Kubernetes Scheduler
  • (24:51) - Question: Does Karpenter auto-scale down?
  • (26:42) - Question: EKS with Karpenter spot instances
  • (27:35) - Question: Karpenter and AWS auto-scaling groups
  • (27:47) - Question: Installation and provisioning
  • (28:57) - Only affects unschedulable pods
  • (30:26) - Demo intro
  • (30:51) - Demo
  • (30:56) - Scaling Down
  • (32:04) - Keeping your nodes fresh
  • (34:31) - If you want to learn more
  • (35:00) - Goals for 2022
  • (35:52) - Questions
  • (35:58) - Question: Cost-effective instances
  • (37:12) - Question: Instances to IoC and automatically destroyed?
  • (40:02) - Question: Features being pushed upstream into Kubernetes
  • (42:05) - Question: Rebalancing
  • (46:05) - Scaling down is hard too
  • (47:55) - Question: Horizontal pod auto-scaler trigger Karpenter
  • (49:02) - Question: Specs and Documentation
  • (49:38) - Question: How does it pick instance sizes?
  • (50:32) - Question: Karpenter respects desire to spread workloads
  • (51:06) - Question: EKSAnywhere support
  • (51:27) - Question: How do you pick AMIs?
  • (52:14) - Winding down
  • (54:02) - Wrapping up
  • (54:07) - Outro

  • 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

    ...more
    View all episodesView all episodes
    Download on the App Store

    DevOps and Docker Talk: Cloud Native Interviews and ToolingBy Bret Fisher

    • 4.6
    • 4.6
    • 4.6
    • 4.6
    • 4.6

    4.6

    54 ratings


    More shows like DevOps and Docker Talk: Cloud Native Interviews and Tooling

    View all
    The Knowledge Project by Shane Parrish

    The Knowledge Project

    2,688 Listeners

    6 Minute English by BBC Radio

    6 Minute English

    1,754 Listeners

    Learning English Conversations by BBC Radio

    Learning English Conversations

    1,038 Listeners

    The Diary Of A CEO with Steven Bartlett by DOAC

    The Diary Of A CEO with Steven Bartlett

    8,469 Listeners

    Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

    Kubernetes Podcast from Google

    181 Listeners

    Day Two DevOps by Packet Pushers

    Day Two DevOps

    15 Listeners

    DevOps Paradox by Darin Pope & Viktor Farcic

    DevOps Paradox

    25 Listeners

    Adventures in DevOps by Will Button, Warren Parad

    Adventures in DevOps

    18 Listeners

    Think Fast Talk Smart: Communication Techniques by Matt Abrahams, Think Fast Talk Smart

    Think Fast Talk Smart: Communication Techniques

    798 Listeners

    All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

    All-In with Chamath, Jason, Sacks & Friedberg

    9,935 Listeners

    Coaching Real Leaders by Harvard Business Review / Muriel Wilkins

    Coaching Real Leaders

    676 Listeners

    The Ezra Klein Show by New York Times Opinion

    The Ezra Klein Show

    15,948 Listeners

    The Foreign Affairs Interview by Foreign Affairs Magazine

    The Foreign Affairs Interview

    445 Listeners

    The Rest Is Politics: US by Goalhanger

    The Rest Is Politics: US

    2,204 Listeners

    Agentic DevOps by Bret Fisher

    Agentic DevOps

    2 Listeners