Building a Kubernetes Scheduler using Custom Metrics
The default Kubernetes scheduler does a fantastic job for typical workloads, but when you have specific requirements (like higher level application metrics) you might need other scheduling methods. …
Talk Title | Building a Kubernetes Scheduler using Custom Metrics |
Speakers | Mateo Burillo (Integrations Engineer and tech writer, Sysdig) |
Conference | KubeCon + CloudNativeCon Europe |
Conf Tag | |
Location | Copenhagen, Denmark |
Date | Apr 30-May 4, 2018 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
The default Kubernetes scheduler does a fantastic job for typical workloads, but when you have specific requirements (like higher level application metrics) you might need other scheduling methods. You probably know how to use node affinity, inter-pod affinity, taints, and tolerations. But what if you could use any of the metrics already present in your monitoring infrastructure to dynamically configure the Kubernetes pod scheduler? In this session we will demonstrate how to create a custom Kubernetes scheduler using any monitoring source such as statsd, JMX or Prometheus. We will walk through the code required for a custom scheduler, and end with a short demo. We will provide attendees the source code and placeholder containers required to run the examples in their clusters during this practical session.