hashicorp / hashicorp/nomad

Force reallocation - button

Open
#18,378 1 comment 4 reactions 0 assignees View on GitHub
stage/accepted theme/jobspec theme/ui type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Proposal
Sometimes I have a nomad job that is in a failed state and I want it to redeploy now.

### Use-cases
Unstable job that has some outside dependency keeps crashing. I want to be able to force a new allocation.

### Attempted Solutions
When I am in this situation with many failures, I usually edit the env{} stanza of the task to force Nomad to run a new allocation.

It would be nice to have a button "force allocation" that will override and restart/reschedule policies and force Nomad to run a new allocation immediately.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point. Start by locating Nomad's allocation restart and reschedule-policy handling, then determine where a force-allocation control would belong and how an immediate new allocation should be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.