OpenShift Modify the Scheduler Policy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Procedure=
=Procedure=
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]].


1. Edit the existing scheduler configuration file [[/etc/origin/master/scheduler.json]].
1. Edit the existing scheduler configuration file [[/etc/origin/master/scheduler.json]].


2. Restart the master services on all master nodes.
2. Restart the master services on all master nodes.
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]].

Revision as of 06:56, 6 July 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.

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

2. Restart the master services on all master nodes.

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.