Kubernetes Autoscaling with Karpenter
Download MP3Bret is joined by Nirmal Mehta, a Principal Specialist Solution Architect at AWS, and a Docker Captain, to discuss Karpenter, an autoscaling solution that simplifies Kubernetes infrastructure by automating node scaling up and down.
-------------------------------------
★ Enroll now for my next Live course, GitHub Actions + Argo CD, scheduled for July 10-21. Go to bret.courses/autodeploy to sign up. ★
------------------------------------
★ Enroll now for my next Live course, GitHub Actions + Argo CD, scheduled for July 10-21. Go to bret.courses/autodeploy to sign up. ★
------------------------------------
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
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
- (04:02) - Main Show
- (04:06) - Introductions
- (05:06) - Nirmal's Jobs
- (05:52) - Talking about Kubernetes cluster scaling
- (06:58) - Who are we addressing?
- (08:23) - What is Karpenter not addressing?
- (08:46) - Auto-scaling at pod level
- (09:34) - Cluster auto-scaling
- (11:01) - Karpenter is alternate to cluser autoscaler
- (11:15) - Question
- (12:05) - Issues Karpenter was created to address
- (14:23) - What is Karpenter?
- (15:45) - Selective instance type provisioning
- (16:41) - Matching deployment definition to instance types
- (18:02) - Question: Is Karpenter designed only for AWS?
- (19:07) - Question: Can you auto-scale control plane nodes?
- (21:15) - The Kubernetes Scheduler
- (25:08) - Question: Does Karpenter auto-scale down?
- (26:59) - Question: EKS with Karpenter spot instances
- (27:52) - Question: Karpenter and AWS auto-scaling groups
- (28:04) - Question: Installation and provisioning
- (29:14) - Only affects unschedulable pods
- (30:43) - Demo intro
- (31:08) - Demo
- (31:13) - Scaling Down
- (32:21) - Keeping your nodes fresh
- (34:48) - If you want to learn more
- (35:17) - Goals for 2022
- (36:09) - Questions
- (36:15) - Question: Cost-effective instances
- (37:29) - Question: Instances to IoC and automatically destroyed?
- (40:19) - Question: Features being pushed upstream into Kubernetes
- (42:22) - Question: Rebalancing
- (46:22) - Scaling down is hard too
- (48:12) - Question: Horizontal pod auto-scaler trigger Karpenter
- (49:19) - Question: Specs and Documentation
- (49:55) - Question: How does it pick instance sizes?
- (50:49) - Question: Karpenter respects desire to spread workloads
- (51:23) - Question: EKSAnywhere support
- (51:44) - Question: How do you pick AMIs?
- (52:31) - Winding down
- (54:19) - Wrapping up
- (54:24) - Outro
Support this show and get exclusive benefits on Patreon, YouTube, or bretfisher.com!
★Join my Community★
New live course on CI automation and gitops deployments
Best coupons for my Docker and Kubernetes courses
Chat with us and fellow students on our Discord Server DevOps Fans
Grab some merch at Bret's Loot Box
★Join my Community★
New live course on CI automation and gitops deployments
Best coupons for my Docker and Kubernetes courses
Chat with us and fellow students on our Discord Server DevOps Fans
Grab some merch at Bret's Loot Box
Homepage bretfisher.com
Creators and Guests

Host
Bret Fisher
Cloud native DevOps Dude. Course creator, YouTuber, Podcaster. People person who spends way to much time in front of a computer.

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.
