GoogleContainerTools / GoogleContainerTools/skaffold

Multiple invocations of `PodInterface.List` and `DeploymentInterface.List` methods throughout the codebase.

Open
#6,233 2 comments 0 reactions 0 assignees View on GitHub
area/performance kind/tech-debt meta/development priority/p2
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

Calls to `PodInterface` and `DeploymentInterface`'s `List` method can be expensive for clusters with many resources. Skaffold makes this call multiple times in the course of a single devloop, some of them being:
- to get pods for syncing source changes
- to get pods to port-forward
- to get deployments of status-checking

We need to investigate other event driven approaches to avoid making these calls multiple times.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.