MENU

Fun & Interesting

Pod Topology Spread Constraints in Kubernetes

Lukonde Mwila 4,663 2 years ago
Video Not Working? Fix It Now

How do you configure pod topology constraints in Kubernetes? In this video, I'll address this very topic so that you can learn how to spread out your application workloads in Kubernetes for high availability and better resource utilization. In this video, I will also compare pod topology constraints to pod anti-affinity rules, and why topology constraints are a better option for application availability. #kubernetes Timestamps: 00:00 - Introduction 00:15 - Spreading applications across topology domains 00:55 - Pod affinity rules - using anti-affinity for application availability 01:57 - Configuring pod topology spread constraints 04:27 - Demo and code walk-through using pod topology spread constraints and Karpenter for high availability Other resources: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/ https://youtu.be/bzyEfxE8MOU https://karpenter.sh/ Connect: GitHub: https://github.com/LukeMwila Twitter: https://twitter.com/LuKE9ine Medium: https://medium.com/@outlier.developer LinkedIn: https://www.linkedin.com/in/lukonde-mwila-25103345/ If you found this video helpful, please like the video and subscribe to the channel!

Comment