19 Controlling workload placement and automatic scaling
Kubernetes decides where to run your workloads, spreading them around the cluster to get the best use of your servers and the highest availability for your apps. Deciding which node is going to run a new Pod is the job of the scheduler, one of the control plane components. The scheduler uses all the information it can get to choose a node. It looks at the compute capacity of the server and the resources used by existing Pods. It also uses policies that you can hook into in your application specs to have more control over where Pods will run. In this chapter, you’ll learn how to direct Pods to specific nodes and how to schedule the placement of Pods in relation to other Pods.
We’ll also ...
Get Learn Kubernetes in a Month of Lunches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.