uswitch / yggdrasil

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

make connection timeout configurable via annotations #22

Closed Joseph-Irving closed 5 years ago

Joseph-Irving commented 5 years ago

This adds a new annotations of yggdrasil.uswitch.com/timeout which allows you to set the connection timeout for your ingress. By default it was 30s, but for certain services they may need longer than this, such as things doing complicated computations.

If decide to add more annotations for yggdrasil we will probably need to refactor the code to make arbitrary config annotations easier to implement as having a giant block of "if annotation exists" will not be ideal.