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

1.0 Bindings #50

Merged
merged 1 commit into from
Mar 3, 2021
Merged

1.0 Bindings #50

merged 1 commit into from
Mar 3, 2021

Conversation

Vulfox
Copy link
Contributor

@Vulfox Vulfox commented Mar 1, 2021

This introduces the check for group level network configs so that the recommended job spec with networking on Nomad v1.0+ works. There is also backwards compatibility functionality for the deprecated network ports, however you can not / should not mix and match between deprecated configs and recommended ones. The 1st party docker driver implements bindings in a similar way.

Removed resource_port as a config and migrated the functionality to port as a setting. This keeps it on a similar page as other drivers and should help folks understand what needs to be set and not be confused about the port number config (which we now rely on Nomad providing that for us).

Fix #43

@Vulfox Vulfox added the code review code review label Mar 1, 2021
@Vulfox Vulfox requested a review from shishir-a412ed March 1, 2021 19:30
@Vulfox Vulfox self-assigned this Mar 1, 2021
@github-actions
Copy link

github-actions bot commented Mar 1, 2021

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

Copy link
Contributor

@shishir-a412ed shishir-a412ed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Vulfox Vulfox merged commit e057422 into master Mar 3, 2021
@Vulfox Vulfox deleted the bindings_v1 branch March 3, 2021 01:57
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2021
@Vulfox Vulfox added this to the 0.2.0 Release milestone Mar 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code review code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in launching task: Trying to map ports but no network interface is available
2 participants