Commit graph

3414 commits

Author SHA1 Message Date
Conor Landry
0f6357764a 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
a5f415296d 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
f02463c593 Fix e2e tests 2018-10-30 13:35:31 -03:00
k8s-ci-robot
292b727932 Merge pull request #3322 from aledbf/tests-cleanup
Remove e2e boilerplate
2018-10-30 08:40:23 -07:00
k8s-ci-robot
84b59bdaeb Merge pull request #3324 from Shopify/fix-sticky-session
Fix sticky session
2018-10-30 07:52:55 -07:00
Elvin Efendi
de57efeab5 fix sticky session implementation 2018-10-30 16:23:08 +04:00
Elvin Efendi
db976d3685 sticky session e2e test 2018-10-30 16:12:54 +04:00
k8s-ci-robot
5fd061c17a 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
344da5c7b2 Remove e2e boilerplate 2018-10-29 22:38:15 -03:00
Maximilian Bode
762055fed8 Add configuration for geoip2 module
Based on closed PRs #2551, #2755
2018-10-29 21:25:23 +01:00
k8s-ci-robot
3d6de3b09d 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
b1404dd543 Update e2e image 2018-10-29 13:14:57 -03:00
Manuel Alejandro de Brito Fontes
6aab39b3a7 Fix status update in case of connection errors 2018-10-29 13:01:41 -03:00
k8s-ci-robot
c665675ff2 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
f6d8c218ef Update nginx image and QEMU version 2018-10-29 11:30:51 -03:00
k8s-ci-robot
163d9b6423 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
953e0844f5 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
a238acbbfb Fix links in deploy index docs 2018-10-29 14:07:54 +01:00
Manuel Alejandro de Brito Fontes
17f6373ac5 Update nginx and add support for TLSv1.3 2018-10-29 09:20:35 -03:00
k8s-ci-robot
3b96eb7012 Merge pull request #3312 from xichengliudui/fix18102903
Delete some extra words
2018-10-29 01:32:31 -07:00
k8s-ci-robot
b2976e88ee Merge pull request #3310 from mbode/fix_geoip2_db
Fix geoip2 db files
2018-10-29 00:55:25 -07:00
xichengliudui
cd7ab350b9 Delete some extra words 2018-10-29 02:48:56 -04:00
Maximilian Bode
33b9894162 Fix download of geoip2 databases 2018-10-28 21:29:15 +01:00
Maximilian Bode
e6f3c9864c Bump geoip2 module version 3.0 -> 3.2 2018-10-28 21:26:31 +01:00
samuela
27a1f03530 "diretly" typo (#3263)
* "diretly" typo
2018-10-27 08:17:45 -03:00
mikeweiwei
25496e1e7f fix logging calls (#3260) 2018-10-27 08:16:34 -03:00
k8s-ci-robot
34f32def8f Merge pull request #3301 from diazjf/e2e-whitelist
Add e2e tests for IP Whitelist
2018-10-26 13:28:00 -07:00
Fernando Diaz
127973344c 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
23b8d263c0 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
2c5dfb713c 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
77d3629dbb 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
e849418e0c 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
6a34b9f7b7 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
3dd01333bc enhance test logic 2018-10-26 11:21:44 -05:00
Anish Ramasekar
f45bd396f8 Add e2e test for app-root 2018-10-26 11:12:44 -05:00
k8s-ci-robot
3f4286f043 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
c44a8d41f6 Add e2e test for force-ssl-redirect 2018-10-26 10:02:09 -05:00
Manuel Alejandro de Brito Fontes
5636f587f9 Update kubeadm-dind-cluster (#3304) 2018-10-26 08:52:36 -03:00
Henry Tran
416873fa59 Refactor EWMA to not use shared dictionaries 2018-10-25 22:33:42 +04:00
k8s-ci-robot
cb9c1b430a 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
11a8af32ee 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
06112aaf1f UPT: updated e2e test and default true for process-multipart-body annotation 2018-10-25 14:17:38 +08:00
Zenara Daley
1ed67c98ee Add healthcheck timeout as CLA 2018-10-24 16:02:28 -04:00
k8s-ci-robot
fcbfaadb68 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
25adc0e319 fix bug with balancer.lua configuration 2018-10-24 22:42:40 +04:00
k8s-ci-robot
941108b2d2 Merge pull request #3282 from SataQiu/fix-20181024
Fix some typos
2018-10-24 06:00:09 -07:00
SataQiu
511623014c fix typos 2018-10-24 20:30:56 +08:00
Desmond Ho
82b14813bf UPT: updated e2e testing title for lua test 2018-10-24 18:30:43 +08:00
k8s-ci-robot
130a2a58dc 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
764915d623 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