mirror of
https://github.com/siderolabs/omni.git
synced 2025-08-07 01:56:59 +02:00
Some checks are pending
default / default (push) Waiting to run
default / e2e-backups (push) Blocked by required conditions
default / e2e-forced-removal (push) Blocked by required conditions
default / e2e-scaling (push) Blocked by required conditions
default / e2e-short (push) Blocked by required conditions
default / e2e-short-secureboot (push) Blocked by required conditions
default / e2e-templates (push) Blocked by required conditions
default / e2e-upgrades (push) Blocked by required conditions
default / e2e-workload-proxy (push) Blocked by required conditions
This PR brings back a small part of the changes introduced in https://github.com/siderolabs/omni/pull/929, but in a simpler way. - Copy and paste/import from the `go-loadbalancer` library the required structures of probing a set of upstreams and picking a healthy one. - Replace the "full" TCP load balancers in the workload proxy handler with these simple upstream-probers (still call them `LB`). - Remove the in-memory transport from the workload proxy completely - instead, use a smart dial function which picks a healthy upstream for the given cluster+alias. This should result in a non-leaky, simpler and more robust proxying compared to the current implementation. Leave out the other changes for now, as they need further evaluation/testing, particularly the aggregated/stopped health checks. Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com> |
||
---|---|---|
.. | ||
lb.go |