Andrew V Stiegmann created MESOS-2164:
-----------------------------------------

             Summary: Put Mesos Container Resource Limits in the Shell 
Environment
                 Key: MESOS-2164
                 URL: https://issues.apache.org/jira/browse/MESOS-2164
             Project: Mesos
          Issue Type: Improvement
          Components: containerization
            Reporter: Andrew V Stiegmann


While using Chronos with a JVM I am trying to set the -xmx parameter based on 
the maximum amount of ram available in the container.  However I found that 
there is no easy way or getting this value.  It would be very helpful if this 
information was included in the environment.  Something like

MESOS_RSRC_MEM=1024
MESOS_RSRC_CPU=2

would be perfect.  Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to