<#7133 Speed up sandbox envoy proxy startup by ~40...
# flyte-github
a
#7133 Speed up sandbox envoy proxy startup by ~40s Pull request opened by pingsutw Summary • Add
wait-for-dns
init container to the envoy proxy deployment that blocks until CoreDNS is available, preventing a ~40s DNS resolution timeout during envoy cluster initialization • Add
dns_refresh_rate
(1s) and
dns_failure_refresh_rate
(1s base, 5s max) to all envoy upstream clusters for faster recovery • Tune readiness probe (
initialDelaySeconds: 1
,
periodSeconds: 3
) and liveness probe (
initialDelaySeconds: 30
,
periodSeconds: 5
) for faster detection Before: Envoy blocked ~40s on DNS resolution timeout → proxy pod ready at ~44s After: Envoy initializes in <1s after CoreDNS is up → proxy pod ready at ~30s Test plan •
make sandbox-run
starts successfully •
make sandbox-stop
stops cleanly • Verified envoy logs show instant cluster initialization (
cm init: all clusters initialized
within milliseconds of
starting main dispatch loop
) • All 7 pods reach Ready state •
main
• #6583 • Speed up sandbox envoy proxy startup by ~40s 👈 flyteorg/flyte