opencompose
opencompose copied to clipboard
Support for `resources` per container in OpenCompose
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.