Connect from Appengine to a Kubernetes service from Google Containers

前端 未结 2 1727
予麋鹿
予麋鹿 2021-01-18 09:36

I have a project with Appengine part and Google Containers cluster. Appengine app needs to make http calls to a Service deployed to Google Containers.

I know that I

相关标签:
2条回答
  • 2021-01-18 10:12

    There isn't currently a way to inject packets from an App Engine application into the private GCP network where your Kubernetes cluster is running (e.g. coming from a 10.0.0.0/8 address). So the only way to connect your application to your Container Engine service is to use the external IPs (as you are currently doing).

    0 讨论(0)
  • 2021-01-18 10:13

    On standard App Engine, the only way to access your instances is through the appspot.com frontend. On Managed VMs you can also get the external IP address for a single instance from the Developers Console (which is still ephemeral) and access it that way but that's as close as you can get and defeats scaling.

    One reason why this kind of feature doesn't exist for App Engine is because instances can spawn in any zone within the same region.

    0 讨论(0)
提交回复
热议问题