ingress-nginx-helm/internal/ingress/controller
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
..
config Add configuration for geoip2 module 2018-10-29 21:25:23 +01:00
process Fix verification of boilerplate, style and file headers 2017-12-03 13:58:23 -03:00
store Remove support for TCP and UDP services 2018-10-07 10:53:37 -03:00
template Refactor EWMA to not use shared dictionaries 2018-10-25 22:33:42 +04:00
certificate.go Fix verification of boilerplate, style and file headers 2017-12-03 13:58:23 -03:00
checker.go Add healthcheck timeout as CLA 2018-10-24 16:02:28 -04:00
checker_test.go Create file permission constants 2018-06-12 11:06:14 -04:00
controller.go implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
controller_test.go implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
endpoints.go delete upstream healthcheck annotation 2018-10-09 09:14:13 -04:00
endpoints_test.go delete upstream healthcheck annotation 2018-10-09 09:14:13 -04:00
nginx.go implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
nginx_test.go Replace standard json encoding with jsoniter 2018-09-22 14:25:01 -03:00
tcp.go Clarify log messages in controller pkg 2018-06-13 21:27:43 +02:00
util.go implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
util_test.go Apply gometalinter suggestions 2018-04-25 18:53:49 -03:00