Skip to content

feat(load-balancing): update API for 429-aware load balancing#559

Merged
cratelyn merged 3 commits into
mainfrom
alex/rlalb
Jun 3, 2026
Merged

feat(load-balancing): update API for 429-aware load balancing#559
cratelyn merged 3 commits into
mainfrom
alex/rlalb

Conversation

@adleong

@adleong adleong commented May 27, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Alex Leong <alex@buoyant.io>
@cratelyn

Copy link
Copy Markdown
Member

cross-referencing #556 for reference.

Comment thread proto/outbound.proto Outdated
Comment on lines +455 to +462
repeated StatusRange http_status_ranges = 6;

// gRPC status codes that should trigger load biasing penalties.
repeated uint32 grpc_status_codes = 7;

message StatusRange {
uint32 start = 1;
uint32 end = 2;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of scope

Comment thread proto/outbound.proto Outdated

// If true, the proxy will use the Retry-After hint (if present on the response)
// as the penalty duration, clamped by the configured max_retry_after.
RetryAfter respect_retry_after_hint = 4;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of scope

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs configurable max_retry_after

adleong added 2 commits May 28, 2026 20:13
Signed-off-by: Alex Leong <alex@buoyant.io>
Signed-off-by: Alex Leong <alex@buoyant.io>

@cratelyn cratelyn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for assembling this pull request @adleong. i'm pleased with how this proposal will both streamline the configuration for load balancing.

@cratelyn
cratelyn merged commit fcb86ce into main Jun 3, 2026
8 checks passed
@cratelyn
cratelyn deleted the alex/rlalb branch June 3, 2026 16:19
cratelyn added a commit to linkerd/linkerd2-proxy that referenced this pull request Jun 3, 2026
see:

* https://github.com/linkerd/linkerd2-proxy-api/releases/tag/v0.20.0
* linkerd/linkerd2-proxy-api#562
* linkerd/linkerd2-proxy-api#559
* linkerd/linkerd2-proxy-api#565
* #4537
* #4546
* #4544

this commit updates linkerd2-proxy-api, pulling in the latest release.

aside from a slew of dependency updates, this new version most
importantly includes changes to set the state for forthcoming
load-balancing work.

these new fields are marked with "todo" comments to indicate where
future work in `linkerd-proxy-client-policy` in that vein will introduce
future enum variants, fields, marshalling and validation, etc.

this new version also includes an update to the most recent version of
rand, which will allow us to properly update to the latest version of
hickory-resolver without introducing breakage in our audit job in CI.

Signed-off-by: katelyn martin <kate@buoyant.io>
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

Successfully merging this pull request may close these issues.

2 participants