kubernetes/plugin/pkg/scheduler
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
..
algorithm Scheduler predicate for capping node volume count 2016-02-02 16:21:42 -05:00
algorithmprovider Scheduler predicate for capping node volume count 2016-02-02 16:21:42 -05:00
api Merge pull request #18473 from smarterclayton/change_runtime_object 2015-12-16 04:24:22 -08:00
factory Comment out calls to httptest.Server.Close() to work around 2016-01-11 23:02:11 -08:00
metrics scheduler metrics: change Summary to Histogram 2016-01-04 14:50:49 -08:00
extender.go Scheduler extension 2015-11-25 08:19:27 -08:00
extender_test.go Don't recreate the same map 3 times 2015-12-16 20:39:28 -08:00
generic_scheduler.go Revert "Remove FailedResourceType and return custom error" 2016-01-11 11:27:50 -08:00
generic_scheduler_test.go move filter logic to list&watch client 2015-12-22 19:32:18 +08:00
modeler.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
modeler_test.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
scheduler.go scheduler metrics should only observe successful ops 2016-01-04 14:50:37 -08:00
scheduler_test.go Rate limiter: Add Saturation() method 2015-12-03 08:39:35 -08:00