hashicorp / hashicorp/consul-template

Add a way to template nomad nodes (similar to consul nodes).

Open
#1,860 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

### Feature Request

Add a way to enumerate over nomad nodes (and fetch the node data like ip, etc) similar to how we do for consul - https://github.com/hashicorp/consul-template/blob/main/docs/templating-language.md#nodes

This will enhance nomad service discovery story.

### Use case
If we know which nodes nomad runs on can open up possibilities to connect to outside applications with known ports.

Contributor guide

Open the contributing guide

Research direction

Start with the Consul templating-language nodes documentation linked in the issue and compare its behavior with the repository's existing Consul node support. Trace the relevant Go template entry points and tests, then define done as being able to enumerate Nomad nodes and retrieve node data such as IP addresses for service discovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.