summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Grant <bgrant0607@users.noreply.github.com>2015-07-16 23:33:45 -0700
committerBrian Grant <bgrant0607@users.noreply.github.com>2015-07-16 23:33:45 -0700
commit9107d385019f436317e41675dbdca016c4307688 (patch)
tree8bef67c2623194476c60374811b344fd05bb9105
parent7c7cbb2a44d2b0acf06ad8256ab404cdae509894 (diff)
parenta7425fa6891a042de69331dba36282276084edeb (diff)
Merge pull request #11352 from JanetKuo/docs-reachable
Ensure all docs and examples in user guide are reachable
-rw-r--r--scheduler_algorithm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler_algorithm.md b/scheduler_algorithm.md
index fc402516..146c0190 100644
--- a/scheduler_algorithm.md
+++ b/scheduler_algorithm.md
@@ -31,7 +31,7 @@ The purpose of filtering the nodes is to filter out the nodes that do not meet c
- `PodFitsResources`: Check if the free resource (CPU and Memory) meets the requirement of the Pod. The free resource is measured by the capacity minus the sum of limits of all Pods on the node.
- `PodFitsPorts`: Check if any HostPort required by the Pod is already occupied on the node.
- `PodFitsHost`: Filter out all nodes except the one specified in the PodSpec's NodeName field.
-- `PodSelectorMatches`: Check if the labels of the node match the labels specified in the Pod's `nodeSelector` field.
+- `PodSelectorMatches`: Check if the labels of the node match the labels specified in the Pod's `nodeSelector` field ([Here](../user-guide/node-selection/) is an example of how to use `nodeSelector` field).
- `CheckNodeLabelPresence`: Check if all the specified labels exist on a node or not, regardless of the value.
The details of the above predicates can be found in [plugin/pkg/scheduler/algorithm/predicates/predicates.go](../../plugin/pkg/scheduler/algorithm/predicates/predicates.go). All predicates mentioned above can be used in combination to perform a sophisticated filtering policy. Kubernetes uses some, but not all, of these predicates by default. You can see which ones are used by default in [plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go](../../plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go).