OpenShift Modify the Scheduler Policy

From NovaOrdis Knowledge Base
Revision as of 03:43, 17 October 2017 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

This article describes the procedure to modify the default scheduler policy.

Procedure

1. Get the current scheduling policy in force, for reference. The current scheduling policy can be obtained as described here: Scheduler Policy.

2. Edit the existing scheduler configuration file /etc/origin/master/scheduler.json.

3. Restart the master services on all master nodes following this procedure:

Restart across a HA Cluster

4. Get the new policy, and make sure it differs from the old policy obtained at step 1. The current scheduling policy can be obtained as described here: Scheduler Policy.