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

Feature/docker params #538

Merged
merged 3 commits into from
Sep 11, 2015
Merged

Feature/docker params #538

merged 3 commits into from
Sep 11, 2015

Conversation

m1k3
Copy link
Contributor

@m1k3 m1k3 commented Aug 26, 2015

Implementing a generic way of passing in docker params the same way marathon does it.

references #536

cc/ @strzelecki-maciek

vixns added a commit to vixns/chronos that referenced this pull request Sep 2, 2015
@@ -171,7 +171,18 @@ class JobDeserializer extends JsonDeserializer[BaseJob] {
if (containerNode.has("forcePullImage") && containerNode.get("forcePullImage") != null)
Try(containerNode.get("forcePullImage").asText.toBoolean).getOrElse(false)
else false
container = DockerContainer(containerNode.get("image").asText, volumes, networkMode, forcePullImage)

Copy link
Member

Choose a reason for hiding this comment

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

Small nit: can you drop the extra newline?

@brndnmtthws
Copy link
Member

One tiny comment, but it otherwise looks great. Once you update the PR, I'll merge it.

@m1k3
Copy link
Contributor Author

m1k3 commented Sep 11, 2015

Thanks @brndnmtthws for having a look. I dropped the double newlines, but I kept a single newline as a visual separator. I hope that's what you meant.

@brndnmtthws
Copy link
Member

Yep, looks good!

brndnmtthws added a commit that referenced this pull request Sep 11, 2015
@brndnmtthws brndnmtthws merged commit cdf0d18 into mesos:master Sep 11, 2015
@bobrik
Copy link
Contributor

bobrik commented Nov 17, 2015

@brndnmtthws, @gkleiman any chance to get a new release with this feature? It's been a while since 2.4.0.

@willgorman
Copy link

Same here, I'd really like to use a released version with this feature.

@vivekkothari
Copy link

scheduler/jobs doesn't return the custom container parameters

@timcharper
Copy link

@vivekkothari is it because this feature hasn't been released?

@MadhuriJagannath
Copy link

@m1k3, which release is this feature available in?

@m1k3
Copy link
Contributor Author

m1k3 commented Aug 30, 2016

AFAIK it wasn't released yet as the latest release 2.4.0 was released before this feature was merged.

@jodem
Copy link

jodem commented Sep 1, 2016

Until it's released one workaround is to start you docker container by yourself with a chronos command, then you can use any specific config or param.

@code-haven
Copy link

v2.5.0 has been released with the changes in this PR.
https://github.com/mesos/chronos/releases/tag/2.5.0

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.

None yet

9 participants