Skip to content

[ktd] [Feature] Translate resource requirements to docker-compose #81

@gchazot

Description

@gchazot

kubetools.yml can specify k8s resource spcifications for docker containers (e.g. container.resources.requests.memory).
docker-compose also supports these limits:

  • version 2: deprecated but still used in version 2 which is currently used by kubetools
  • version 3: spec for docker-compose 3.x

There is a case for (optionally?) translating those limits into the development environment:

  • some issues only show up when the process in a container becomes unable to allocate more memory
  • it is very hard to monitor memory usage of a container, especially when that usage is very transient

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions