Support meta parameter in consul stanza when registering a Nomad agent
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
Consul meta tags are currently not configurable when registering a Nomad agent.
https://github.com/hashicorp/nomad/blob/0a90cee7b724f5fb9e74c2d1f9ff948acbfe5b00/command/agent/consul/service_client.go#L777-L780
While the tag parameter is supported, it is an array and makes looking up things harder in consul as opposed to a meta parameter which provides a key-value structure.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in command/agent/consul/service_client.go around lines 777-780, where the Consul registration currently handles tags. Trace how the Nomad agent's Consul stanza is configured and verify that a key-value meta parameter reaches the registration request alongside the existing tags; done means meta values are configurable and sent when registering an agent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100