x-google-backend with http on a GKE cluster

132 views
Skip to first unread message

Aron Suarez

unread,
Sep 7, 2019, 4:57:33 AM9/7/19
to Google Cloud Endpoints
Hi

Is it possible to run endpoints with the new x-google-backend option on GKE with multiple clusterIP services as backend?


when i try this i god the error, x-google-backend needs to use https.

thanks for help

Teju Nareddy

unread,
Sep 8, 2019, 2:17:58 PM9/8/19
to Google Cloud Endpoints
I don't believe so, the documentation also lists this limitation. Keep in mind that the x-google-backend extension is still in Alpha, so it has limited support.

I will +cc another endpoints maintainer tomorrow to clarify this functionality.

Teju Nareddy

unread,
Sep 9, 2019, 10:28:34 PM9/9/19
to Google Cloud Endpoints
I just confirmed this limitation. You have to use HTTPS if you are using that field.

If you do want HTTP support, perhaps you can provide a GCP service configuration directly, instead of relying on the Service Management API to translate your OpenAPI spec to a service configuration? This would workaround the problem, as it would provide ESP directly with HTTP backends.
Reply all
Reply to author
Forward
0 new messages