opencompose icon indicating copy to clipboard operation
opencompose copied to clipboard

Support for `resources` per container in OpenCompose

Open surajssd opened this issue 8 years ago • 0 comments

Every config that is out there and needs to be deployed in production has resources defined in there. How about we add support for that in OpenCompose.

Resources info:

$ kubectl explain deployment.spec.template.spec.containers.resources
RESOURCE: resources <Object>

DESCRIPTION:
     Compute Resources required by this container. Cannot be updated. More info:
     http://kubernetes.io/docs/user-guide/persistent-volumes#resources

    ResourceRequirements describes the compute resource requirements.

FIELDS:
   limits       <object>
     Limits describes the maximum amount of compute resources allowed. More
     info: http://kubernetes.io/docs/user-guide/compute-resources/

   requests     <object>
     Requests describes the minimum amount of compute resources required. If
     Requests is omitted for a container, it defaults to Limits if that is
     explicitly specified, otherwise to an implementation-defined value. More
     info: http://kubernetes.io/docs/user-guide/compute-resources/

Docs about resources, and API reference.

surajssd avatar May 18 '17 07:05 surajssd