Custom Scheduling
You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is [3.11]. For the most recent version 4, see
You can run multiple, custom schedulers alongside the default scheduler and configure which scheduler to use for each pods.
To schedule a given pod using a specific scheduler, specify the name of the scheduler in that pod specification.
Deploying the Scheduler
The steps below are the general process for deploying a scheduler into your cluster.
Create or edit a pod configuration and specify the name of the scheduler with the parameter. The name must be unique.
Sample pod specification with scheduler
1 The name of the scheduler to use. When no scheduler name is supplied, the pod is automatically scheduled using the default scheduler. Run the following command to create the pod:
$ oc create -f scheduler.yaml
Run the following command to check that the pod was created with the custom scheduler:
-
The pod should not be running.
NAME READY STATUS RESTARTS AGE
Deploy the custom scheduler.
Run the following command to check the status of the pod:
$ oc get pod
The pod should be running.