signalfx / maestro-ng

Orchestration of Docker-based, multi-host environments
https://signalfx.com
Apache License 2.0
685 stars 83 forks source link

ability to set limits at service level #170

Closed iangkent closed 8 years ago

iangkent commented 8 years ago

Currently the yaml schema allows us to set resource limits at the service instance scope. http://maestro-ng.readthedocs.io/en/latest/environment.html?service-instances#service-instances

It would be helpful to be able to set the limits at service scope. This would mean that all service instances would inherit these limits. This is similar to how docker compose works. https://docs.docker.com/compose/compose-file/#cpu-shares-cpu-quota-cpuset-domainname-hostname-ipc-mac-address-mem-limit-memswap-limit-privileged-read-only-restart-shm-size-stdin-open-tty-user-working-dir