Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: bring the defaultNetworkManager functionality inline with Docker driver network implementation #11180

Open
3 tasks
jrasell opened this issue Sep 14, 2021 · 0 comments
Assignees
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/client theme/networking type/enhancement

Comments

@jrasell
Copy link
Member

jrasell commented Sep 14, 2021

PR #11173 enhanced the job specification to allow setting the hostname of a network namespace. This hostname can currently only be used when using the Docker driver. Nomad should be enhanced so that this parameter can be utilised on any driver which utilises the defaultNetworkManager such as exec and Java. External plugins that must initiate the network will need to implement this change also; if you have any questions please feel free to reach out.

The defaultNetworkManager implementation requires additional work than was needed of the Docker driver in order to make this functionality viable, and is the reason the work has been targeted as a followup item.

  • allow setting the hostname of the network namespace, accordingly to the user supplied parameter or lack of
  • populate the /etc/hostname file of the network namespace to match that of the hostname set in the previous action
  • populated the /etc/hosts file of the network namespace to include the hostname set in action 1
@jrasell jrasell self-assigned this Sep 14, 2021
@jrasell jrasell changed the title placeholder client: bring the defaultNetworkManager functionality inline with Docker driver network implementation Sep 16, 2021
@jrasell jrasell added theme/client theme/networking stage/accepted Confirmed, and intend to work on. No timeline committment though. labels Sep 16, 2021
@jrasell jrasell added this to Needs Triage in Nomad - Community Issues Triage via automation Sep 16, 2021
@jrasell jrasell moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Sep 16, 2021
@rcoder rcoder removed this from Needs Roadmapping in Nomad - Community Issues Triage Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/client theme/networking type/enhancement
Projects
None yet
Development

No branches or pull requests

1 participant