uswitch / yggdrasil

Envoy Control Plane for Kubernetes Multi-cluster Ingress
Apache License 2.0
192 stars 17 forks source link

Feature : Add a new annotation to configure envoy upstream weight #83

Open SoulKyu opened 4 months ago

SoulKyu commented 4 months ago

Hello,

The goal of this PR is to setup an annotation permitting to add a weight on upstream.

A weight of 0 means disable the endpoint.

This brings no breaking change as a weigh of 1 is by default

This feature has been in production in Numberly for two years, time for the PR :+1: