Kubernetes 101 : Choosing your Scheduler



If we have a specific "topology" for our pods that a certain scheduler can handle, we could have a specific deployment Yaml file for our "special" scheduler - with its image - as below:


A scheduler also needs the setting up of other components ( service account, config files, ... )

Then we would need to mention it in the Yaml file of the deployment of our pods, as we can see below:


Using the below command, we can check on which nodes the pods have been deployed:


Remark:

If we don't specify any scheduler in the pod's Yaml file, the default scheduler is used to schedule the pods.

We could go through all the kubernetes events to find the ones created by the scheduler:


Comments

Leave as a comment:

Archive