Access HTTP service running in GKE from Google Dataflow

后端 未结 3 2078
感动是毒
感动是毒 2021-01-02 16:53

I have an HTTP service running on a Google Container Engine cluster (behind a kubernetes service).

My goal is to access that service from a Dataflow job running on t

3条回答
  •  盖世英雄少女心
    2021-01-02 17:37

    The Dataflow job running on GCP will not be part of the Google Container Engine cluster, so it will not have access to the internal cluster DNS by default.

    Try setting up a load balancer for the service that you want to expose which knows how to route the "external" traffic to it. This will allow you to connect to the IP address directly from a Dataflow job executing on GCP.

提交回复
热议问题