GoogleCloudPlatform / gke-networking-recipes

Apache License 2.0
307 stars 87 forks source link

East West Across two VPC's with ILB and PSC #66

Open boredabdel opened 3 years ago

boredabdel commented 3 years ago

The use case is as follow

VPC#1 with a GKE Cluster. An App exposed behind an ILB VPC#2 with a VM

How can the VM reach the ILB without peering

Similar to this https://cloud.google.com/architecture/gke-address-management-nat-for-all-cidr-blocks-tutorial

But with PSC.

Bonus if the client VM is onPrem. VPC#1 acts as a spoke. VPC#2 is a Hub where onPrem connectivity is terminated. Maybe this will hard to implement but could be explained in the tutorial