Bug 1337217 - [DOCS] Unclear how to make change to Kubernetes scheduler
Summary: [DOCS] Unclear how to make change to Kubernetes scheduler
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ashley Hardin
QA Contact: Ryan Howe
Vikram Goyal
URL:
Whiteboard:
: 1268035 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-18 14:09 UTC by Ryan Howe
Modified: 2019-10-10 12:07 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-17 02:30:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2016-05-18 14:09:23 UTC
Document URL: https://docs.openshift.com/enterprise/3.2/admin_guide/scheduler.html#sample-policy-configurations

Describe the issue: 

The documentation does not show what file needs to be changed and how to add the changes into Openshift. 

Suggestions for improvement: 

Explain that the scheduler policy is a file that by default is located on the master located /etc/origin/master/scheduler.json. 

To confirm the location that OpenShift pull this policy from you can look what is set for this in the master-config.yaml file. 

# grep schedulerConfigFile /etc/origin/master/master-config.yaml

From here you can make changes to the file. Once all the changes are made you will need to restart the atomic openshift master services for the changes to take effect. 

https://docs.openshift.com/enterprise/3.1/admin_guide/scheduler.html#default-scheduler-policy

Comment 1 Thien-Thi Nguyen 2016-05-26 23:50:27 UTC
Doc plan:
(a) Link to from scheduler "Use Cases" section to "Update Labels on Nodes" section (admin guide).
(b) Add section "Modifying Scheduler Policy" (following "Default Scheduler Policy") w/ content suggested in the BZ Description.

Comment 2 Thien-Thi Nguyen 2016-05-27 00:46:47 UTC
PR: https://github.com/openshift/openshift-docs/pull/2157

Comment 3 Thien-Thi Nguyen 2016-05-27 12:33:56 UTC
*** Bug 1268035 has been marked as a duplicate of this bug. ***

Comment 7 Thien-Thi Nguyen 2016-06-03 16:20:52 UTC
PR merged: https://github.com/openshift/openshift-docs/pull/2157#event-681310463

Comment 8 Vikram Goyal 2016-06-17 02:30:12 UTC
This is now live here (in the 3.2 docs):

https://docs.openshift.com/enterprise/3.2/admin_guide/scheduler.html#modifying-scheduler-policy

Moving this bug to CLOSED-->CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.