How to call a service exposed by a Kubernetes cluster from another Kubernetes cluster in same project

前端 未结 2 1376
执笔经年
执笔经年 2020-11-30 05:41

I have two service, S1 in cluster K1 and S2 in cluster K2. They have different hardware requirements. Service S1 needs to talk to S2.

I don\'t want to expose Public

2条回答
  •  感动是毒
    2020-11-30 06:16

    GKE now supports Internal Load Balancers: https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balancing

    It's primary use case is to have a load balancer that's not exposed to the public internet so a service running on GKE can be reached from other GCE VMs or other GKE clusters in the same network.

提交回复
热议问题