question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow `/` route on ambassador pods to return HTTP 200 OK when healthy

See original GitHub issue

Please describe your use case / problem. I’m trying to use ambassador with network endpoint groups in GKE. The relevant documentation states:

For relevant Pods, the corresponding Ingress controller manages a readiness gate of type cloud.google.com/load-balancer-neg-ready. The Ingress controller polls the load balancer’s health check status, which includes the health of all endpoints in the NEG. When the load balancer’s health check status indicates that the endpoint corresponding to a particular Pod is healthy, the Ingress controller sets the Pod’s readiness gate value to True. The kubelet running on each Node then computes the Pod’s effective readiness, considering both the value of this readiness gate and, if defined, the Pod’s readiness probe.

The first step in the NEG healthcheck is to hit the / route on the service port of the pod and see if it returns a HTTP 200. However, this isn’t how ambassador pods behave by default.

Describe the solution you’d like Please provide a way to configure 200 OK to be returned at /, or for the healthcheck route to be configurable

Describe alternatives you’ve considered Can’t think of anything. Using GKE, the backend controllers override any manual changes to the healthchecks and don’t provide a way of configuring it via annotations. I have raised this issue with GCP.

Additional context Add any other context about the feature request here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

4reactions
pratikmallyacommented, Mar 16, 2020

/reopen

0reactions
muscovitebobcommented, Jun 11, 2020

This is an issue that prevents this guide from working when used with the helm chart Edge install.

The probe routes do not appear to be configurable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow `/` route on ambassador pods to return HTTP 200 OK ...
The first step in the NEG healthcheck is to hit the / route on the service port of the pod and see if...
Read more >
Resolve failed health check for load balancer in EKS - AWS
If the response status code is 200 OK, then it means that your application is responding correctly on the health check path. Note:...
Read more >
The Ambassador Module Resource | Edge Stack
Here, our example specifies that connections originating from the Ambassador Edge Stack pod itself should always be allowed. The keyword remote specifies that ......
Read more >
datawire/ambassador - Gitter
<sonyjop> I have a kubernetes master/node setup in cent os. After setting up ambassador as an API gateway, I have tried a sample...
Read more >
How to Fix Kubernetes 'Service 503' (Service Unavailable) Error
The 503 Service Unavailable error is an HTTP status code that indicates the server ... In Kubernetes, it means a Service tried to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found