Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Kubernetes Design Patterns and Extensions

You're reading from  Kubernetes Design Patterns and Extensions

Product type Book
Published in Sep 2018
Publisher Packt
ISBN-13 9781789619270
Pages 106 pages
Edition 1st Edition
Languages
Author (1):
Onur Yılmaz Onur Yılmaz
Profile icon Onur Yılmaz

Extending the Kubernetes Scheduler

Pods are the basic unit of work that are scheduled by Kubernetes to run on nodes. By default, Kubernetes has a built-in scheduler, and it tries to assign pods to the nodes evenly by ensuring that there are sufficient free resources. There are some use cases to configure and extend the scheduler behavior of Kubernetes considering the custom requirements of scalable and reliable cloud-native applications:

  • Running certain pods on specialized hardware
  • Co-locating some pods that include interacting services
  • Dedicating some nodes to some users

Scheduler customization and extension patterns, starting from the basics to the complex, are listed as follows:

  • Assigning node labels and using node selectors
  • Using affinity and anti-affinity rules
  • Marking nodes with taints, and pods with tolerations
  • Creating and deploying custom scheduler algorithms
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}