summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Blecker <admin@toph.ca>2017-07-15 22:42:27 -0700
committerGitHub <noreply@github.com>2017-07-15 22:42:27 -0700
commit506d09c218d39a7d7eba344c6ddddd53e0a91019 (patch)
treeba7118ac7592bb99220ac5d12e17441a3e6a6536
parent4018a9f2e86cc9f79a733b2c05401b38e40d156c (diff)
parent191d84ba82428b8deb002f1909ea847b09197322 (diff)
Merge pull request #652 from LinEricYang/master
Fix wrong link format for predicates.go file
-rwxr-xr-xcontributors/devel/scheduler.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/devel/scheduler.md b/contributors/devel/scheduler.md
index 1b9ca7c7..47985c98 100755
--- a/contributors/devel/scheduler.md
+++ b/contributors/devel/scheduler.md
@@ -86,7 +86,7 @@ The default policies used are selected by the functions `defaultPredicates()` an
[plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go).
However, the choice of policies can be overridden by passing the command-line flag `--policy-config-file` to the scheduler, pointing to a JSON file specifying which scheduling policies to use. See [examples/scheduler-policy-config.json](http://releases.k8s.io/HEAD/examples/scheduler-policy-config.json) for an example
config file. (Note that the config file format is versioned; the API is defined in [plugin/pkg/scheduler/api](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/api/)).
-Thus to add a new scheduling policy, you should modify [plugin/pkg/scheduler/algorithm/predicates/predicates.go] (http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithm/predicates/predicates.go) or add to the directory [plugin/pkg/scheduler/algorithm/priorities](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithm/priorities/), and either register the policy in `defaultPredicates()` or `defaultPriorities()`, or use a policy config file.
+Thus to add a new scheduling policy, you should modify [plugin/pkg/scheduler/algorithm/predicates/predicates.go](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithm/predicates/predicates.go) or add to the directory [plugin/pkg/scheduler/algorithm/priorities](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithm/priorities/), and either register the policy in `defaultPredicates()` or `defaultPriorities()`, or use a policy config file.
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->