hashicorp / hashicorp/nomad

Reload should tell us if restart is required

Open
#28,090 2 comments 0 reactions 0 assignees View on GitHub
hcc/jira theme/config type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Proposal
Make it so that when we do a nomad reload we get some useful information:
- Verify the config before doing anything, if valid proceed.
- Verify the changes will apply after a reload, if not proceed, but inform us that a restart is required for some of the changes.

### Use-cases
Clean approach whenever someone is updating node configurations for nomad. This is mostly a quality of life thing.

### Attempted Solutions
N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Nomad reload command and trace how configuration is currently verified and applied. Determine how to report changes that cannot take effect through reload while preserving the requested validation-before-action behavior. Done means reload validates first, applies reloadable changes, and clearly reports when a restart is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.