Reader small image

You're reading from  Kubernetes Design Patterns and Extensions

Product typeBook
Published inSep 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789619270
Edition1st Edition
Languages
Right arrow
Author (1)
Onur Yılmaz
Onur Yılmaz
author image
Onur Yılmaz

Onur Ylmaz is a senior software engineer in a multinational enterprise software company. He is a certified Kubernetes administrator (CKA) and works on Kubernetes and cloud management systems. He is a keen supporter of cutting-edge technologies including Docker, Kubernetes, and cloud-native applications. He has one master's and two bachelor's degrees in the engineering field.
Read more about Onur Yılmaz

Right arrow

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 page is locked
Previous PageNext Page
You have been reading a chapter from
Kubernetes Design Patterns and Extensions
Published in: Sep 2018Publisher: PacktISBN-13: 9781789619270

Author (1)

author image
Onur Yılmaz

Onur Ylmaz is a senior software engineer in a multinational enterprise software company. He is a certified Kubernetes administrator (CKA) and works on Kubernetes and cloud management systems. He is a keen supporter of cutting-edge technologies including Docker, Kubernetes, and cloud-native applications. He has one master's and two bachelor's degrees in the engineering field.
Read more about Onur Yılmaz