teamhephy / controller

Hephy Workflow Controller (API)
https://teamhephy.com
MIT License
14 stars 26 forks source link

deis tags per process type #42

Open Cryptophobia opened 6 years ago

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @azurewraith on April 3, 2015 20:32

It could be useful if you could configure process types to run in particular places based on fleet metadata with deis tags.

For example, if you have asynchronous workers that don't necessarily have to be on a fast machine but you want your web processes on better hardware. Or you have asynchronous workers which require a lot of CPU/Memory and you want to schedule them only on hardware that could support it.

Right now, you have to have separate apps for them which can lead to a lot of redundancy, multiple pushes/envirionment config, etc.

I understand not everyone is running a heterogeneous cloud environment but there is some aspect of cluster cost maintenance untapped here where you could have redundant large hosts paired with redundant smaller hosts and reserve the large hosts for process types that need them. Case in point here from a deis core perspective, the deis-builder.

Copied from original issue: deis/deis#3416

Copied from original issue: deis/controller#1212

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @bacongobbler on April 3, 2015 20:51

I can see the use case for this. This is actually how deis limits works too, so it makes sense :+1:

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @azurewraith on April 3, 2015 23:15

Yeah, deis limits can help with this problem in the sense that a process type won't eat up more CPU/Memory then you lend it. If your machines are all equally powerful, then this works well. I had forgotten you could set limits by process type...

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @carmstrong on April 9, 2015 21:24

I think this makes a lot of sense and is worth exploring :+1:

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @fabiob on October 22, 2015 17:35

Have anyone started to work on this?

I tried to start something, but I got really lost on the Django migrations.

Cryptophobia commented 6 years ago

From @deis-admin on January 19, 2017 21:9

From @robholland on December 6, 2016 15:12

It would be great to have deis tags extended to support this. We have a lot of applications with frontend and backend components which we'd like to segregate.