kubernetes/plugin/pkg/scheduler
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
..
algorithm Ubernetes Lite: Volumes can dictate zone scheduling 2015-12-31 12:27:01 -05:00
algorithmprovider Ubernetes Lite: Volumes can dictate zone scheduling 2015-12-31 12:27:01 -05:00
api Merge pull request #18473 from smarterclayton/change_runtime_object 2015-12-16 04:24:22 -08:00
factory Ubernetes Lite: Volumes can dictate zone scheduling 2015-12-31 12:27:01 -05:00
metrics Scheduler metrics: binding rate limiter saturation 2015-12-03 10:43:37 -08:00
extender_test.go Don't recreate the same map 3 times 2015-12-16 20:39:28 -08:00
extender.go Scheduler extension 2015-11-25 08:19:27 -08:00
generic_scheduler_test.go move filter logic to list&watch client 2015-12-22 19:32:18 +08:00
generic_scheduler.go scheduler: a small refactor for generic scheduler 2015-12-22 15:36:41 -08:00
modeler_test.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
modeler.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
scheduler_test.go Rate limiter: Add Saturation() method 2015-12-03 08:39:35 -08:00
scheduler.go Scheduler metrics: binding rate limiter saturation 2015-12-03 10:43:37 -08:00