Skip to content

make sure literal host ports are processed correctly#837

Merged
ssalinas merged 8 commits into
masterfrom
docker_literal_port
Jan 22, 2016
Merged

make sure literal host ports are processed correctly#837
ssalinas merged 8 commits into
masterfrom
docker_literal_port

Conversation

@ssalinas
Copy link
Copy Markdown
Contributor

@ssalinas ssalinas commented Jan 7, 2016

A few things to fix ports/params with docker:

  • Make sure any port with a LITERAL mapping also gets added to the mesos Resources when building the task
  • Verify during doesOfferMatchResources that any requested literal host ports are present in the offer
  • Add a scheduler test for port resources
  • Make sure docker params make it onto the mesos task definition and add a MesosUtilsTest assertion for this and the literal ports

/fyi @chrisbrewer @wsorenson

@ssalinas ssalinas added this to the 0.4.8 milestone Jan 7, 2016
@ssalinas
Copy link
Copy Markdown
Contributor Author

@tpetr this should be gtg, thoughts on merging?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i'd remove the space here for clarity

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sry, missed this comment before, fixed

@tpetr tpetr modified the milestones: 0.4.8, 0.4.9 Jan 15, 2016
@ssalinas
Copy link
Copy Markdown
Contributor Author

@tpetr added the JsonIgnore, this should be good now

@tpetr
Copy link
Copy Markdown
Contributor

tpetr commented Jan 22, 2016

LGTM

ssalinas added a commit that referenced this pull request Jan 22, 2016
make sure literal host ports are processed correctly
@ssalinas ssalinas merged commit 0463204 into master Jan 22, 2016
@ssalinas ssalinas deleted the docker_literal_port branch January 22, 2016 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants