Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve install speed #635

Closed
brancz opened this issue May 4, 2023 · 1 comment
Closed

Improve install speed #635

brancz opened this issue May 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@brancz
Copy link

brancz commented May 4, 2023

TL;DR

Installing gcloud (and gke-gcloud-auth-plugin) adds about 1 minute to every single one of our CI jobs.

Screenshot 2023-05-04 at 13 40 47

Could this be done faster somehow? 1 minute seems rather excessive, or is there a way to skip installing gcloud altogether maybe (it appears to be taking the majority of the time)? The only thing we use gcloud for is to retrieve the kubeconfig with gcloud container clusters get-credentials "$GKE_CLUSTER" --zone "$GKE_ZONE" (we use Workload Identity Federation, so maybe we can just synthesize the kubeconfig?)

Detailed design

No response

Additional information

No response

@brancz brancz added the enhancement New feature or request label May 4, 2023
@brancz
Copy link
Author

brancz commented May 4, 2023

Apologies for opening this issue, I think I just found the answer myself. I was looking for the combination of:

Which only generates the kubeconfig and installs the auth plugin, skipping gcloud all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant