ingress-nginx-helm/rootfs/etc/nginx/lua
Conor Landry 412cd70d3a implement canary annotation and alternative backends
Adds the ability to create alternative backends. Alternative backends enable
traffic shaping by sharing a single location but routing to different
backends depending on the TrafficShapingPolicy defined by AlternativeBackends.

When the list of upstreams and servers are retrieved, we then call
mergeAlternativeBackends which iterates through the paths of every ingress
and checks if the backend supporting the path is a AlternativeBackend. If
so, we then iterate through the map of servers and find the real backend
that the AlternativeBackend should fall under. Once found, the
AlternativeBackend is embedded in the list of VirtualBackends for the real
backend.

If no matching real backend for a AlternativeBackend is found, then the
AlternativeBackend is deleted as it cannot be backed by any server.
2018-11-06 13:13:14 -05:00
..
balancer implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
test fix sticky session implementation 2018-10-30 16:23:08 +04:00
util batch metrics and flush periodically 2018-08-18 13:17:21 -04:00
balancer.lua implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
certificate.lua Add Lua module to serve SSL Certificates dynamically 2018-08-23 22:15:54 -04:00
configuration.lua Add lua endpoint to handle certificates in dynamic configuration mode 2018-08-07 08:18:34 -04:00
monitor.lua fix some typos 2018-09-08 21:49:04 +08:00
util.lua implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00