Watch Tutorial
Tutorial
Advanced Kubernetes Scheduling
- Date
- Runtime
- 52:02
- Share
About this video
What You'll Learn
- Restrict pods to specific nodes with node selectors and matching labels.
- Use node and pod affinity to co-locate workloads or keep them apart.
- 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
- 0:05 Introduction and Topic Overview
- 1:01 What the Kubernetes Scheduler Does (Basics)
- 4:11 Bypassing the Scheduler (Manual Assignment)
- 5:27 Node Selector
- 9:56 Node Affinity (Required vs Preferred, Operators)
- 16:48 Pod Affinity and Anti-Affinity (Co-location and Repulsion)
- 22:26 Three-Tier App Scenario (Affinity/Anti-Affinity in Practice)
- 30:28 Priority Classes (Preemption)
- 34:20 Topology Spread Constraints (Even Distribution)
- 42:50 Pod Scheduling Readiness Gates (Alpha Feature)
- 46:12 Dynamic Resource Allocation (Alpha Feature)
- 51:16 Conclusion and Summary
Technologies featured
Comments and resources
Comments
Loading comment...
Loading text content...
Loading comment...
Loading text content...
Loading comment...
Loading text content...
More about Kubernetes
1:18:47
Hands-on Introduction to Kueue
1:15:06
Hands-on Introduction to Yoke
39:59
Navigating Kairos: Immutable Operating Systems with a Cloud Native Twist
18:37
Kubernetes Security Scanning: The 4 Tools You Actually Need
19:17
Kubernetes Disaster Recovery
51:20
Flatcar Linux: A Modern OS for the Always-On Infrastructure
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.