docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

add max free memory priority strategy and max free cpu priority strategy #2922

Closed jamesqin-cn closed 4 years ago

jamesqin-cn commented 5 years ago

base on free memory and free cpu strategy


This change is Reviewable

GordonTheTurtle commented 5 years ago

Please sign your commits following these rules: https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work The easiest way to do this is to amend the last commit:

$ git clone -b "master" git@github.com:jamesqin-cn/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354606416
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.