GoogleCloudPlatform / gke-networking-recipes

Apache License 2.0
297 stars 84 forks source link

Why introduce MultiClusterService along with ServiceImport #154

Open chrisxuwq opened 10 months ago

chrisxuwq commented 10 months ago

https://github.com/GoogleCloudPlatform/gke-networking-recipes/blob/6e6ed8f23d804e5493079564a90c5248cded1908/ingress/multi-cluster/mci-basic/ingress.yaml#L27

It appears MultiClusterService shares similar concepts with cross-cluster service ServiceImport, here why not use ServiceImport when referring a multi-ingress's backend directly? I don't quite get the ideas behind it.