kubernetes/plugin/pkg/scheduler/algorithm
Solly Ross 2d436ff080 Scheduler predicate for capping node volume count
For certain volume types (e.g. AWS EBS or GCE PD), a limitted
number of such volumes can be attached to a given node.  This commit
introduces a predicate with allows cluster admins to cap
the maximum number of volumes matching a particular type attached to a
given node.

The volume type is configurable by passing a pair of filter functions,
and the maximum number of such volumes is configurable to allow node
admins to reserve a certain number of volumes for system use.

By default, the predicate is exposed as MaxEBSVolumeCount and
MaxGCEPDVolumeCount (for AWS ElasticBlocKStore and GCE PersistentDisk
volumes, respectively), each of which can be configured using the
`KUBE_MAX_PD_VOLS` environment variable.

Fixes #7835
2016-02-02 16:21:42 -05:00
..
predicates Scheduler predicate for capping node volume count 2016-02-02 16:21:42 -05:00
priorities Don't recreate the same map 3 times 2015-12-16 20:39:28 -08:00
doc.go Move pkg/scheduler to plugin/pkg/scheduler 2015-05-13 14:03:25 +08:00
listers.go Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
scheduler_interface_test.go Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
scheduler_interface.go Scheduler extension 2015-11-25 08:19:27 -08:00
types.go Don't recreate the same map 3 times 2015-12-16 20:39:28 -08:00