hashicorp / hashicorp/nomad

Make more hardcoded values configurable

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

Description

### Proposal
There are several hard-coded values that control nomad agent behavior that we'd like to adjust. It would be nice if we could expose config options for these values.

I wanted to get a sense for whether or not this is something maintainers would be happy with. If it is, I'm happy to submit PRs to add the knobs that we care about.

### Use-cases
Here are some values we'd like to adjust, but this list is non-exhaustive and likely to grow:
- `registerRetryIntv` https://github.com/hashicorp/nomad/blob/cf8dde0850a23d4e8b0b48bc5fea2f66388ab711/client/client.go#L83
- `initialHeartbeatStagger` https://github.com/hashicorp/nomad/blob/cf8dde0850a23d4e8b0b48bc5fea2f66388ab711/client/client.go#L106

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the hard-coded values in client/client.go, including registerRetryIntv and initialHeartbeatStagger. The proposal does not define the full set of values or an agreed configuration interface, so the scope and acceptance criteria need maintainer clarification before implementation; done would mean the agreed agent behaviors are configurable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems, 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.