GoogleContainerTools / GoogleContainerTools/skaffold
Multiple invocations of `PodInterface.List` and `DeploymentInterface.List` methods throughout the codebase.
Open
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
Assessment
This issue has not been assessed yet.