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.

    1. 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

      1The name of the scheduler to use. When no scheduler name is supplied, the pod is automatically scheduled using the default scheduler.
    2. Run the following command to create the pod:

      1. $ oc create -f scheduler.yaml
    3. Run the following command to check that the pod was created with the custom scheduler:

      1. The pod should not be running.

        1. NAME READY STATUS RESTARTS AGE
      2. Deploy the custom scheduler.

      3. Run the following command to check the status of the pod:

        1. $ oc get pod

        The pod should be running.