How do I deploy Kong with HTTP Load Balancer on GKE

#1

I am trying to setup Kong on GKE with HTTP Load Balancing. GKE allow creation of HTTP Load Balancer with Ingress Resource. It’s documented here.
https://cloud.google.com/kubernetes-engine/docs/tutorials/http-balancer

Problem is HTTP Load Balancer setup default health check rule which expects HTTP 200 status to the GET requests on / path. Kong doesn’t provide that out of the box. Does Kong provide any other health check endpoint that I can use with GKE Ingress?

0 Likes

#2

You can setup a request termination plugin to return HTTP 200 on the / path.

Does Kong provide any other health check endpoint that I can use with GKE Ingress?

You can use /status endpoint on the Admin API to healthcheck Kong as well.

0 Likes