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

Add ability to set attributes that mark slave for only preemptible tasks #1788

Merged
merged 4 commits into from May 3, 2018

Conversation

Projects
None yet
3 participants
@ssalinas
Member

ssalinas commented Apr 24, 2018

For example, set:

preemptibleTasksOnlyMachineAttributes:
  preemptibleOnly: "true"

And only long-running (worker/service) or shorter non-long-running (avgRunTime < preemptibleTaskMaxExpectedRuntimeMs) will be placed on those slaves. As a result they are easier to shut down and replace if a portion of the mesos cluster is rotated out frequently

@ssalinas ssalinas added this to the 0.20.0 milestone Apr 24, 2018

ssalinas added some commits Apr 24, 2018

@ssalinas ssalinas added the hs_staging label Apr 24, 2018

@ssalinas ssalinas changed the title from Add ability to set attributes that mark slave for only preemtible tasks to Add ability to set attributes that mark slave for only preemptible tasks Apr 24, 2018

@ssalinas ssalinas added the hs_qa label Apr 24, 2018

@ssalinas

This comment has been minimized.

Show comment
Hide comment
@ssalinas

ssalinas Apr 24, 2018

Member

tested and working as intended on staging 😃

Member

ssalinas commented Apr 24, 2018

tested and working as intended on staging 😃

@pschoenfelder

This comment has been minimized.

Show comment
Hide comment
@pschoenfelder

pschoenfelder Apr 25, 2018

Contributor

🚢

Contributor

pschoenfelder commented Apr 25, 2018

🚢

@ssalinas ssalinas added the hs_stable label May 3, 2018

@ssalinas ssalinas merged commit 7e86a1e into master May 3, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@ssalinas ssalinas deleted the preemptable_task_attr branch May 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment