Skip to content

Loadbalancer health checks report false positives #476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
rochecompaan opened this issue Mar 13, 2025 · 0 comments
Open
3 tasks done

Loadbalancer health checks report false positives #476

rochecompaan opened this issue Mar 13, 2025 · 0 comments

Comments

@rochecompaan
Copy link
Contributor

🐛 Describe the bug

AWS load balancer health checks in the full stack template false reports that a node is available because a TCP connection can be established on port 6443, even if an HTTP request to the port hangs.

Since one cannot currently make anonymous HTTP requests to the Kubernetes API port, I recommend that we switch to an HTTP health check on a backend service like Django. We can point the health check to the same view as the Django readiness check.

💭 Expected Behavior

Load balancer health checks should ensure that traffic is only routed to nodes where nodes are healthy.

🔁 Steps To Reproduce

It's difficult to reproduce a kubelet process hanging. One could add a dummy service that never responds on a different port and update the existing TCP health check to connect to that port instead.

🌎 Environments

  • Sandbox
  • Staging
  • Production

📝 Additional context

No response

📜 Relevant log output

📸 Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant