832f607433
This adds a `nomad alloc stop` command that can be used to stop and force migrate an allocation to a different node. This is built on top of the AllocUpdateDesiredTransitionRequest and explicitly limits the scope of access to that transition to expose it under the alloc-lifecycle ACL. The API returns the follow up eval that can be used as part of monitoring in the CLI or parsed and used in an external tool. |
||
---|---|---|
.. | ||
contexts | ||
internal/testutil | ||
acl.go | ||
acl_test.go | ||
agent.go | ||
agent_test.go | ||
allocations.go | ||
allocations_test.go | ||
api.go | ||
api_test.go | ||
compose_test.go | ||
constraint.go | ||
constraint_test.go | ||
deployments.go | ||
evaluations.go | ||
evaluations_test.go | ||
fs.go | ||
fs_test.go | ||
go.mod | ||
go.sum | ||
jobs.go | ||
jobs_test.go | ||
namespace.go | ||
namespace_test.go | ||
nodes.go | ||
nodes_test.go | ||
operator.go | ||
operator_autopilot.go | ||
operator_test.go | ||
quota.go | ||
quota_test.go | ||
raw.go | ||
regions.go | ||
regions_test.go | ||
resources.go | ||
search.go | ||
search_test.go | ||
sentinel.go | ||
sentinel_test.go | ||
status.go | ||
status_test.go | ||
system.go | ||
system_test.go | ||
tasks.go | ||
tasks_test.go | ||
util_test.go | ||
utils.go | ||
utils_test.go |