hashicorp / hashicorp/nomad

Allow Socket Task API to talk to a proxy instead Nomad directly

Open
#16,883 3 comments 0 reactions 0 assignees View on GitHub
stage/needs-discussion theme/api theme/client type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Proposal

Nomad Task API Socket looks great, but in some scenarios the Nomad Server might be behind some proxies that your request should be looped through.

### Use-cases

In my case, I am building an [Admission Controller Proxy](https://github.com/mxab/nacp) that validates/modifies Nomad jobs on the fly. Currently the Unix socket prevents the proxy from being enforced.

My request relates to my [community hour question
](
https://www.youtube.com/live/UO0yToiVPKE?feature=share&t=2835)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Nomad Task API Socket entry point; the issue names no files or tests. Review how requests currently reach Nomad directly and determine the proxy configuration and routing behavior needed for the admission-controller use case. Done means the socket API can communicate through a proxy instead of requiring direct access to Nomad.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.