Skip to content
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

Question about Ocelot and Consul #983

Closed
cinqart1 opened this issue Aug 7, 2019 · 3 comments
Closed

Question about Ocelot and Consul #983

cinqart1 opened this issue Aug 7, 2019 · 3 comments
Labels
Consul Service discovery by Consul Health Check POC Health Checks Load Balancer Ocelot feature: Load Balancer

Comments

@cinqart1
Copy link

cinqart1 commented Aug 7, 2019

Hello! I´m using ocelot with consul service discovery, but I dont know how to configure ocelot to not request a service in consul that have two instance, but one of them is down.
In consul I have created a check to verify any instance and one of them is down...but ocelot continue to send request in LoadBalance mode to that service instance!
Someone could help me?
Coul be a link or a explanation...´cause I dont know if there are problem with ocelot or consul or a bad configuration!

Tnks

@raman-m
Copy link
Member

raman-m commented Mar 16, 2024

Duplicate of #1041

@raman-m raman-m marked this as a duplicate of #1041 Mar 16, 2024
@raman-m raman-m added Load Balancer Ocelot feature: Load Balancer Consul Service discovery by Consul Health Check POC Health Checks labels Mar 16, 2024
@raman-m
Copy link
Member

raman-m commented Mar 16, 2024

Hi @cinqart1 !
Your issue is the same as #1041. But this issue has no open PR to fix it.

How did you solve the problem?
Unfortunately Ocelot has no Health Check feature to monitor all route downstream services.
But Consul has native health checks feature: Define health checks
And it would be a dilemma which feature to use: Consul native or Ocelot's one?
As a team, we will discuss this situation.

@ggnaegi FYI

@raman-m
Copy link
Member

raman-m commented Jun 15, 2024

Will be fixed by #1041

@raman-m raman-m closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Consul Service discovery by Consul Health Check POC Health Checks Load Balancer Ocelot feature: Load Balancer
Projects
None yet
Development

No branches or pull requests

2 participants