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

Document working with private clusters #14

Open
eitah opened this issue Dec 26, 2024 · 0 comments
Open

Document working with private clusters #14

eitah opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eitah
Copy link

eitah commented Dec 26, 2024

TL;DR

We want to be able to use the deploy action to get connected to our private cluster, so we've set up a GSA with the right permissions but are stumped by firewall issues.

Detailed design

Seems like the deploy job has some amount of access to be able to get cluster details as suggested might be the case from the docs, but then hits some kind of firewall or private connectivity issue where the calls to the Kubernetes api are getting blocked.

Error: failed to apply deployment: failed to check if deployed object with kind "Namespace" and name "deployment" exists: failed to get config of deployed object: command to get kubernetes config: E1226 18:51:18.798792      24 memcache.go:265] couldn't get current server API group list: Get "https://10.3.0.50/api?timeout=32s": dial tcp 10.3.0.50:443: i/o timeout
E1226 18:51:48.801921      24 memcache.go:265] couldn't get current server API group list: Get "https://10.3.0.50/api?timeout=32s": dial tcp 10.3.0.50:443: i/o timeout

Additional information

Where's the source code for gke-deploy [command]? Perhaps I could come to understand what CLI commands are running to debug the issue locally. Perhaps per the readme it's here? https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gke-deploy. Thanks!

@eitah eitah added the enhancement New feature or request label Dec 26, 2024
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