This commit is contained in:
Alex Dadgar 2017-05-22 17:44:57 -07:00
parent 00d962b8b5
commit a46f7c3eb8
1 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,15 @@ import (
"github.com/hashicorp/nomad/nomad/structs"
)
/* TODO
* 1) We need a structure that yields names in an order that fills the gaps
* between the existing allocations and handles canaries replacing certain
* allocations.
* 2) Need to populate the desired state of a created deployment
* 3) Need to capture the overall desired transformations so that annotated
* plans work.
*/
// allocReconciler is used to determine the set of allocations that require
// placement, inplace updating or stopping given the job specification and
// existing cluster state. The reconciler should only be used for batch and