Skip to main content
Account
Watch Tutorial
Tutorial

Advanced Kubernetes Scheduling

Date
Runtime
52:02
Share

About this video

What You'll Learn

  1. Restrict pods to specific nodes with node selectors and matching labels.
  2. Use node and pod affinity to co-locate workloads or keep them apart.
  3. Manage placement with priority classes, topology spread constraints, scheduling gates, and dynamic resource allocation.

A deep dive into Kubernetes pod scheduling, from nodeName and node selectors through node and pod affinity, topology spread constraints, priority classes and preemption, plus alpha features like scheduling gates and dynamic resource allocation.

Jump to a chapter

View 12 chapters
  1. 0:05 Introduction and Topic Overview
  2. 1:01 What the Kubernetes Scheduler Does (Basics)
  3. 4:11 Bypassing the Scheduler (Manual Assignment)
  4. 5:27 Node Selector
  5. 9:56 Node Affinity (Required vs Preferred, Operators)
  6. 16:48 Pod Affinity and Anti-Affinity (Co-location and Repulsion)
  7. 22:26 Three-Tier App Scenario (Affinity/Anti-Affinity in Practice)
  8. 30:28 Priority Classes (Preemption)
  9. 34:20 Topology Spread Constraints (Even Distribution)
  10. 42:50 Pod Scheduling Readiness Gates (Alpha Feature)
  11. 46:12 Dynamic Resource Allocation (Alpha Feature)
  12. 51:16 Conclusion and Summary

Technologies featured

Comments and resources

More about Kubernetes

View all 173 videos
Rawkode Academy newsletter

Academy publications by email

Get an email when Rawkode Academy publishes new tutorials, articles, and videos.

Loading email signup. If it does not load, manage email preferences in account settings.