hashicorp / hashicorp/consul

Configure service weight in consul

Open
#15,982 4 comments 0 reactions 0 assignees View on GitHub
type/question
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Hey,

Im trying to create service that includes weight , but eventually traffic is being spitted equally between my services .
2 servers are configured that way:
passing: 10000
warning: 10000
1 server configured that way:
passing: 1
warning: 1

the service I’m trying to use it is proxy server if that is important.
My main goal is to route traffic mainly to the 2 first servers , and only small amount of traffic the the single one.

Contributor guide

Open the contributing guide

Research direction

Start with Consul's service registration and proxy load-balancing documentation, focusing on the passing and warning health-check values shown in the issue. Determine whether those values are intended to control traffic weight and identify the supported configuration for routing mainly to two servers; done means the weighted behavior is either reproduced and corrected or clearly documented as unsupported.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.