kong-dist-kubernetes icon indicating copy to clipboard operation
kong-dist-kubernetes copied to clipboard

Deploy Kong with HTTP Load Balancer on Google Cloud

Open rohgoyal opened this issue 6 years ago • 3 comments

##How do I deploy Kong with HTTP Load Balancer on GKE 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?

rohgoyal avatar Jan 16 '19 05:01 rohgoyal

I had the same problem. The only thing I found that I thought would work for me is the suggestion in this thread but I have not gone this route yet as I am not familiar with configuring Kong and do not have time to learn at the moment. I ended up going a more manual route of just configuring a LoadBalancer service on Kong and scripting the DNS set up. Not ideal but it works for now. It would be very helpful if there were standard readiness and liveness endpoints on the public port that do not require authentication (although I am sure there are all sorts of reasons this is not as straight forwards as it sounds).

kevinhcross avatar Mar 27 '19 14:03 kevinhcross

+1

vTNT avatar Mar 29 '19 01:03 vTNT

@kevinhcross I configured a LoadBalancer service on Kong, And use konga to enter Kong for configuration management; When I'm done configuring on / path, I'm reusing the Ingress rule.

vTNT avatar Mar 29 '19 01:03 vTNT