summaryrefslogtreecommitdiff
path: root/scheduler_algorithm.md
diff options
context:
space:
mode:
authorderekwaynecarr <decarr@redhat.com>2016-07-22 15:23:34 -0400
committerderekwaynecarr <decarr@redhat.com>2016-07-28 16:01:38 -0400
commit7d43d8a4fced1514703eccb79d3387bc3d36f3c7 (patch)
tree0ef9701cc0d13792d5198b7db14f2a80f32c444a /scheduler_algorithm.md
parenta5006a35b8f6cba5dee8fd88c5e4f4ba7b9c7aa2 (diff)
Scheduler does not place pods on nodes that have disk pressure
Diffstat (limited to 'scheduler_algorithm.md')
-rwxr-xr-xscheduler_algorithm.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/scheduler_algorithm.md b/scheduler_algorithm.md
index 2aaa84df..ab9be4a8 100755
--- a/scheduler_algorithm.md
+++ b/scheduler_algorithm.md
@@ -49,6 +49,7 @@ The purpose of filtering the nodes is to filter out the nodes that do not meet c
- `MaxEBSVolumeCount`: Ensure that the number of attached ElasticBlockStore volumes does not exceed a maximum value (by default, 39, since Amazon recommends a maximum of 40 with one of those 40 reserved for the root volume -- see [Amazon's documentation](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html#linux-specific-volume-limits)). The maximum value can be controlled by setting the `KUBE_MAX_PD_VOLS` environment variable.
- `MaxGCEPDVolumeCount`: Ensure that the number of attached GCE PersistentDisk volumes does not exceed a maximum value (by default, 16, which is the maximum GCE allows -- see [GCE's documentation](https://cloud.google.com/compute/docs/disks/persistent-disks#limits_for_predefined_machine_types)). The maximum value can be controlled by setting the `KUBE_MAX_PD_VOLS` environment variable.
- `CheckNodeMemoryPressure`: Check if a pod can be scheduled on a node reporting memory pressure condition. Currently, no ``BestEffort`` should be placed on a node under memory pressure as it gets automatically evicted by kubelet.
+- `CheckNodeDiskPressure`: Check if a pod can be scheduled on a node reporting disk pressure condition. Currently, no pods should be placed on a node under disk pressure as it gets automatically evicted by kubelet.
The details of the above predicates can be found in [plugin/pkg/scheduler/algorithm/predicates/predicates.go](http://releases.k8s.io/HEAD/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](http://releases.k8s.io/HEAD/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go).