Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Optimize to reduce requests of creating new task definition #14

Open
Jeffwan opened this issue Jan 24, 2021 · 0 comments
Open

Optimize to reduce requests of creating new task definition #14

Jeffwan opened this issue Jan 24, 2021 · 0 comments

Comments

@Jeffwan
Copy link
Contributor

Jeffwan commented Jan 24, 2021

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.
@Jeffwan Jeffwan changed the title Optimize to reduce requests to create new task definition Optimize to reduce requests of creating new task definition Jan 25, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant