Commit graph

3414 commits

Author SHA1 Message Date
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
k8s-ci-robot
5ceb723963
Merge pull request #3325 from aledbf/fix-e2e-tests
Fix e2e tests
2018-10-30 10:36:34 -07:00
Manuel Alejandro de Brito Fontes
c9668dd40b
Fix e2e tests 2018-10-30 13:35:31 -03:00
k8s-ci-robot
5671c1718f
Merge pull request #3322 from aledbf/tests-cleanup
Remove e2e boilerplate
2018-10-30 08:40:23 -07:00
k8s-ci-robot
01df84d0e3
Merge pull request #3324 from Shopify/fix-sticky-session
Fix sticky session
2018-10-30 07:52:55 -07:00
Elvin Efendi
9e639f9788 fix sticky session implementation 2018-10-30 16:23:08 +04:00
Elvin Efendi
91a12ffd52 sticky session e2e test 2018-10-30 16:12:54 +04:00
k8s-ci-robot
bec97b36c7
Merge pull request #3321 from mbode/geoip2
Add configuration for geoip2 module
2018-10-30 05:09:38 -07:00
Manuel Alejandro de Brito Fontes
83dc4607c5
Remove e2e boilerplate 2018-10-29 22:38:15 -03:00
Maximilian Bode
c27c57dc8b Add configuration for geoip2 module
Based on closed PRs #2551, #2755
2018-10-29 21:25:23 +01:00
k8s-ci-robot
a06f724efa
Merge pull request #3267 from aledbf/fix-status-update
Fix status update in case of connection errors
2018-10-29 12:18:15 -07:00
Manuel Alejandro de Brito Fontes
d869aab61d Update e2e image 2018-10-29 13:14:57 -03:00
Manuel Alejandro de Brito Fontes
fed013ab6f Fix status update in case of connection errors 2018-10-29 13:01:41 -03:00
k8s-ci-robot
468872b7e9
Merge pull request #3320 from aledbf/update-ngx
Update nginx image and QEMU version
2018-10-29 08:24:38 -07:00
Manuel Alejandro de Brito Fontes
a42f181d73
Update nginx image and QEMU version 2018-10-29 11:30:51 -03:00
k8s-ci-robot
d68b90d49a
Merge pull request #3319 from superseb/deploy_docs_index
Fix links in deploy index docs
2018-10-29 06:42:37 -07:00
k8s-ci-robot
5d42f0e03d
Merge pull request #3296 from aledbf/update-nginx
Update nginx and add support for TLSv1.3
2018-10-29 06:11:38 -07:00
Sebastiaan van Steenis
4c25bfe75a Fix links in deploy index docs 2018-10-29 14:07:54 +01:00
Manuel Alejandro de Brito Fontes
4e124675fa Update nginx and add support for TLSv1.3 2018-10-29 09:20:35 -03:00
k8s-ci-robot
0440b359ac
Merge pull request #3312 from xichengliudui/fix18102903
Delete some extra words
2018-10-29 01:32:31 -07:00
k8s-ci-robot
9822847b52
Merge pull request #3310 from mbode/fix_geoip2_db
Fix geoip2 db files
2018-10-29 00:55:25 -07:00
xichengliudui
ed107a489a Delete some extra words 2018-10-29 02:48:56 -04:00
Maximilian Bode
77fed7bf68 Fix download of geoip2 databases 2018-10-28 21:29:15 +01:00
Maximilian Bode
0ab6d4a688 Bump geoip2 module version 3.0 -> 3.2 2018-10-28 21:26:31 +01:00
samuela
decdf72f26 "diretly" typo (#3263)
* "diretly" typo
2018-10-27 08:17:45 -03:00
mikeweiwei
9d227ab62d fix logging calls (#3260) 2018-10-27 08:16:34 -03:00
k8s-ci-robot
0e2ac454cb
Merge pull request #3301 from diazjf/e2e-whitelist
Add e2e tests for IP Whitelist
2018-10-26 13:28:00 -07:00
Fernando Diaz
49ac77e01b Add e2e tests for IP Whitelist
Adds e2e test for the whitelist-source-range annotation.
Part of the #3124 effort.
2018-10-26 14:56:11 -05:00
k8s-ci-robot
a2062cbdac
Merge pull request #3305 from aramase/approot-e2e-test
Add e2e test for app-root
2018-10-26 10:53:49 -07:00
k8s-ci-robot
e48a1aaa59
Merge pull request #3302 from diazjf/e2e-server-snippet
Add e2e test for server snippet
2018-10-26 10:51:47 -07:00
k8s-ci-robot
645f69ba76
Merge pull request #3295 from Shopify/ewma-without-shared-dict
Refactor EWMA to not use shared dictionaries
2018-10-26 10:47:17 -07:00
k8s-ci-robot
d0e63ce15f
Merge pull request #3306 from aramase/update-e2e-test
Update e2e test to verify redirect code
2018-10-26 10:07:59 -07:00
Fernando Diaz
213be6103f Add e2e test for server snippet
Adds the e2e test for server snippet. Similar test to the
configuration snippet. Part of the #3124 effort.
2018-10-26 11:56:33 -05:00
Anish Ramasekar
d3a82f7b04
enhance test logic 2018-10-26 11:21:44 -05:00
Anish Ramasekar
519c30ea70
Add e2e test for app-root 2018-10-26 11:12:44 -05:00
k8s-ci-robot
4393f8cd9e
Merge pull request #3297 from aramase/forcesslredirect-e2e-test
Add e2e test for force-ssl-redirect
2018-10-26 08:34:18 -07:00
Anish Ramasekar
04e6f7bd82
Add e2e test for force-ssl-redirect 2018-10-26 10:02:09 -05:00
Manuel Alejandro de Brito Fontes
abeb176198
Update kubeadm-dind-cluster (#3304) 2018-10-26 08:52:36 -03:00
Henry Tran
3cbfd63992 Refactor EWMA to not use shared dictionaries 2018-10-25 22:33:42 +04:00
k8s-ci-robot
bc6f2e7016
Merge pull request #3285 from Shopify/probe-timeout
Add health-check-timeout as command line argument
2018-10-25 06:31:32 -07:00
k8s-ci-robot
063f652711
Merge pull request #3187 from DesmondHoLLM/feature/annotations-resty-lua
UPT: annotation enhancement for resty-lua-waf
2018-10-25 00:06:03 -07:00
Desmond Ho
bf03046a80 UPT: updated e2e test and default true for process-multipart-body annotation 2018-10-25 14:17:38 +08:00
Zenara Daley
9f2a0b6363 Add healthcheck timeout as CLA 2018-10-24 16:02:28 -04:00
k8s-ci-robot
464f579f44
Merge pull request #3286 from Shopify/fix-balancer-config
fix bug with balancer.lua configuration
2018-10-24 12:16:53 -07:00
Elvin Efendi
5cc116fa10 fix bug with balancer.lua configuration 2018-10-24 22:42:40 +04:00
k8s-ci-robot
9fe500319c
Merge pull request #3282 from SataQiu/fix-20181024
Fix some typos
2018-10-24 06:00:09 -07:00
SataQiu
51fffc653d fix typos 2018-10-24 20:30:56 +08:00
Desmond Ho
3c2c0d0858 UPT: updated e2e testing title for lua test 2018-10-24 18:30:43 +08:00
k8s-ci-robot
01854c9113
Merge pull request #3281 from aramase/log-e2e-test
Add e2e test for log
2018-10-23 19:37:51 -07:00
k8s-ci-robot
d83fecd954
Merge pull request #3280 from aramase/redirect-e2e-test
Add e2e test for from-to-www-redirect
2018-10-23 11:32:40 -07:00