Skip to content

Optimize to reduce requests of creating new task definition #14

@Jeffwan

Description

@Jeffwan

For every new pod, Fargate provider create a new branch new Task Definition and then start a new Task from it.
For most of the services, most of the pods look very close. Task definition is more like a Deployment to define common pod specs. In this case, we actually don't need to create that many Task templates. Instead, find the same owner from ownerReference and reuse the same template. The blocking issue is VK doesn't have cache to deployment. If VK has lister, that will be extremely easy to reuse

  1. Help reduce API call and save time to "schedule a pod".
  2. Save task definition quota and less likely to hit maximum allowed.

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