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

Set constraints for one off tasks #809

Merged
merged 3 commits into from
May 3, 2016
Merged

Set constraints for one off tasks #809

merged 3 commits into from
May 3, 2016

Conversation

ejholmes
Copy link
Contributor

@ejholmes ejholmes commented Apr 29, 2016

Fixes #806
Fixes #746

Broken by https://github.com/remind101/empire/pull/792/files#diff-a0afb4d13dc79c28cad59d370ba902caL66.

This adds the constraints back in, and adds the following:

  • You can now provide the -s flag with emp run to specify the constraints (e.g. emp run migration -a acme-inc -s PX)
  • Labels are now set on attached containers started with Docker.
  • Memory and CPU constraints are now set on attached containers started with Docker.

@mwildehahn
Copy link
Contributor

mwildehahn commented May 2, 2016

👍

@ejholmes ejholmes merged commit 37e93eb into master May 3, 2016
@ejholmes ejholmes deleted the run-constraints branch May 3, 2016 04:21
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