Путевые балансировщики вроде Envoy Peak EWMA и Google Hedge делят трафик по заранее известным маршрутам и не видят общих узких рёбер графа при серых отказах. Показываем, как превратить сеть в адаптивную цепь Кирхгофа без перебора путей и знания ёмкости каналов — с регуляризацией проводимости, правилом трёх сигм и бенчмарком на Go (14 узлов, 20 маршрутов, каскадные сбои). Перейти к алгоритму и замерам на Go
Привет, Хабр!В прошлой статье я показал, как законы Кирхгофа и принцип Томсона позволяют балансировать потоки в фабриках дата-центров в десятки раз быстрее классики. Сейчас я обобщил этот подход на нелинейные цепи произвольного порядка k ≥ 1 для минимизации любой гладкой…
In Contour ( Ingress controller for Kubernetes) before version 1.7.0, a bad actor can shut down all instances of Envoy, essentially killing the entire ingress data plane. GET requests to /shutdown on port 8090 of the Envoy pod initiate Envoy's shutdown procedure. The shutdown procedure includes flipping the readiness endpoint to false, which removes Envoy from the routing pool. When running Envoy (For example on the host network, pod spec hostNetwork=true), the shutdown manager's endpoint is accessible to…
Contour is a Kubernetes ingress controller using Envoy proxy. In Contour before version 1.17.1 a specially crafted ExternalName type Service may be used to access Envoy's admin interface, which Contour normally prevents from access outside the Envoy container. This can be used to shut down Envoy remotely (a denial of service), or to expose the existence of any Secret that Envoy is using for its configuration, including most notably TLS Keypairs. However, it *cannot* be used to get the *content* of those…