Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

kubectl exec & proxy broken after installation of gke example #25

Closed
ghost opened this issue Apr 16, 2018 · 2 comments
Closed

kubectl exec & proxy broken after installation of gke example #25

ghost opened this issue Apr 16, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 16, 2018

When running a regional cluster it seems that both kubectl exec and kubectl proxy are completely non-functional and broken.

My terraform.tfvars looks like the following.

region = "europe-west1"
zone = "europe-west1-b"
gke_master_ip = "35.xxx.xxx.xxx"
gke_node_tag = "gke-xxxx-xxx-node"

Any suggestions?

@danisla
Copy link
Contributor

danisla commented Apr 18, 2018

Looks like this is because regional clusters have multiple masters and the cluster Endpoint is actually a load balancer. By inspecting the firewall rule postfixed with -ssh you can find all of the master IPs that need special routes to bypass the NAT gateway.

I have a fix and it will be pushed soon!

Thanks

@ghost
Copy link
Author

ghost commented Apr 19, 2018

👍 Thanks a ton!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant