Google Cloud - Two clusters in the same project belong to the same VPC?

388 Views Asked by At

How do I set up two clusters in the same GCP project such that they share the same VPC?

I created a cluster with Internal TCP/UDP Load Balancer (without Global Access) in a cluster, say C1. I then created cluster C2 in the same zone and same project. I assumed doing so would guarantee that the clusters are in the same VPC.

However, from cluster C2, when I do:

kubectl exec -it busybox -- ping ${INTERNAL_LB_IP}, it is not reachable..

0

There are 0 best solutions below