Skip to content
This repository was archived by the owner on Nov 19, 2026. It is now read-only.

Support for resources per container in OpenCompose #123

Open

Description

@surajssd

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions