Files
kubernetes/contrib/mesos/pkg/scheduler
Dr. Stefan Schimanski f1a560718c Make slave assignment before binding persistent
- move assigned slave to T.Spec.AssignedSlave
- only create the BindingHost annoation in prepareTaskForLaunch
- recover the assigned slave from annotation and write it back to the T.Spec field

Before this patch the annotation were used to store the assign slave. But due
to the cloning of tasks in the registry, this value was never persisted in the
registry.

This patch adds it to the Spec of a task and only creates the annotation
last-minute before launching.

Without this patch pods which fail before binding will stay in the registry,
but they are never rescheduled again. The reason: the BindingHost annotation does
not exist in the registry and not on the apiserver (compare reconcilePod function).
2015-08-12 08:03:36 +02:00
..
2015-06-10 20:58:39 +00:00
2015-06-11 12:41:50 +00:00
2015-08-05 17:52:56 -07:00
2015-08-05 17:30:03 -07:00
2015-08-11 13:55:37 -07:00
2015-06-10 20:58:39 +00:00
2015-08-05 17:30:03 -07:00
2015-08-05 17:30:03 -07:00
2015-08-05 17:30:03 -07:00