How does deis scheduler work? -
i'm looking @ documentation of deis , i'm not sure how scheduler works.
essentially want deploy small apps. idea have different size of apps based on memory (64m, 128m, 256m , 512m).
then have cluster of small machines (1 cpu, ~3gb) , want deploy/undeploy number of apps, of them have 1 instance.
so in case need scheduler looks @ free memory on each node , deploy app node more resources available (in case memory based).
for example, if have 2gb available apps have following balancing:
node1: app1 (256m), app2 (256m), app3 (512m) => total 1.5 gb node2: app4 (512m), app5 (128m), app6 (128m), app7 (256m), app8 (512m), app9 (256m) => total 1.75 gb then if need deploy app consume 512m, scheduler should deploy app in node1.
so wanted understand if deis userful scenario.
under hood, deis uses fleet scheduler. fleet awards job whichever machine in cluster responds first, , has no understanding of machine load. smarter scheduling priority of fleet project, , improves, deis improves.
Comments
Post a Comment