hashicorp / hashicorp/nomad

spread not respected during node drain

Open
#7,582 4 comments 8 reactions 0 assignees View on GitHub
stage/accepted theme/drain theme/scheduling type/bug
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

It would be convenient if migrations (e.g., triggered by `nomad node drain` and governed by the `migrate` stanza) were able to spread new allocations.

This feature will be useful for us, since it will keep the `spread` configuration constraints even after draining nodes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how `nomad node drain` triggers migrations governed by the `migrate` stanza, then inspect where allocation placement handles `spread` constraints. Done means migrations during node draining preserve the job's configured spread behavior for new allocations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.