OpenShift Modify the Scheduler Policy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
=Procedure=
=Procedure=


1. Edit the existing scheduler configuration file [[/etc/origin/master/scheduler.json]].
1. Get the current scheduling policy in force, for reference. The current scheduling policy can be obtained as described here: [[OpenShift_Concepts#Scheduler_Policy|Scheduler Policy]].


2. Restart the master services on all master nodes.
2. Edit the existing scheduler configuration file [[/etc/origin/master/scheduler.json]].
 
3. Restart the master services on all master nodes following this procedure:
 
{{Internal|OpenShift_Runtime#Restart_Across_a_HA_Cluster|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: [[OpenShift_Concepts#Scheduler_Policy|Scheduler Policy]].

Latest revision as of 03:43, 17 October 2017

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.