Open dustymabe opened 8 years ago
I would just like to make some thing clear for myself. If you are talking about "minimum capabilities required to run" you are talking about cpu, memory limits .... as they are in Docker or Kubernetes Resource quotas? Because those are hard limits, that can't be ever be exceeded.
If you are talking about "minimum capabilities required to run" for me it seems like it is bare minimum that applications requires to run but if spare resources are available application can allocate more.
As a current Open Question we have Allow the developer to express minimum capabilities required to run. The text from this is below. Let's use this issue to discuss the open question.
In order to ensure correct functioning of a service the developer may want to specify certain required/recommended capabilities (e.g. memory, CPU, disk space). For example, a Java process may require a minimum heap size.
Docker Compose allows you to pass options through to the docker container for memory and CPU (see 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 ). Kubernetes implements CPU and memory limits for pods (see http://kubernetes.io/docs/admin/limitrange/ ) and resource quotas (see http://kubernetes.io/docs/admin/resourcequota/).