GoogleContainerTools / GoogleContainerTools/skaffold
Disable component checks before calling gcloud
Open
area/auth
area/performance
kind/friction
kind/starter-project
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
`gcloud` may check for component updates on virtually all calls, which imposes unnecessary latency. We can avoid these component checks by setting `CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=1` in the environment before calling `gcloud`.
https://github.com/GoogleContainerTools/skaffold/blob/e50fc5e9411b666231cf17575f28208eff274061/pkg/skaffold/gcp/auth.go#L64
https://github.com/GoogleContainerTools/skaffold/blob/e50fc5e9411b666231cf17575f28208eff274061/pkg/skaffold/docker/authenticators.go#L89
Contributor guide
Assessment
This issue has not been assessed yet.