Commit graph

4450 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
57949a8be8 Add httpunix dependency 2019-02-06 18:00:10 -03:00
Manuel Alejandro de Brito Fontes
92d07735a0 Replace Status port using a socket 2019-02-06 18:00:10 -03:00
Kubernetes Prow Robot
fdc267c411 Merge pull request #3731 from Shopify/rewrite-target-doc-fix
Update a doc example that uses rewrite-target
2019-02-06 08:38:24 -08:00
Alex Kursell
816909886e Update a doc example that uses rewrite-target 2019-02-06 10:48:08 -05:00
Alex Kursell
2559402feb Fix flaky test 2019-02-05 18:02:21 -05:00
Kubernetes Prow Robot
ebfcfe2447 Merge pull request #3628 from 0robustus1/fix-503-error-generation-on-empty-endpoints
Fix 503 error generation on empty endpoints
2019-02-03 12:01:03 -08:00
Tim Reddehase
9a68b0194e do not wait for endpoints that shouldn't exist
If there are no replicas defined, do not wait
around for the respective endpoints, since none
are expected.
2019-02-03 16:53:38 +01:00
Tim Reddehase
a9c8083cab respond with 503 when there are no endpoints
* related to:
  * https://github.com/kubernetes/ingress-nginx/issues/3070
  * https://github.com/kubernetes/ingress-nginx/issues/3335
* add a 503 test
  * test a service that starts out empty
    (a.k.a. ingress-nginx controller (re-)start)
  * test scaling up (should route traffic accordingly)
  * test scaling down to empty service
  * use custom deployments for scaling test.
* provide a fix by updating the lua table (cache) of the configured backends
  to unset the backend if there are no endpoints available.
2019-02-03 11:43:47 +01:00
Elvin Efendi
ea180f57c5 worker_connections should be less than worker_rlimit_nofile 2019-02-02 22:30:36 -05:00
Kubernetes Prow Robot
40deffc88a Merge pull request #3619 from minherz/add-canary-header-by-value
add header-value annotation
2019-02-01 14:45:54 -08:00
minherz
87d3c23b44 fix issue with failing e2e tests 2019-02-01 22:11:09 +02:00
Kubernetes Prow Robot
f6321185c3 Merge pull request #3673 from moonming/table-new
used table functions of LuaJIT for better performance.
2019-02-01 08:40:34 -08:00
minherz
264bc4056f add header-value annotation
add new annotation (header-value)
parse it and propogate to lua script
alter balancer rule to include it into the canary routing logic
add e2e test to validate fallback for canary-by-header-value
add description of canary-by-header-value to documentation
2019-01-30 23:23:44 +02:00
Kubernetes Prow Robot
e5a09ae7d6 Merge pull request #3705 from diazjf/template-tests
Increase Unit Test Coverage for Templates
2019-01-30 04:27:09 -08:00
Kubernetes Prow Robot
d6086db22c Merge pull request #3708 from antoineco/master
Update OWNERS
2019-01-30 04:25:34 -08:00
Antoine Cotten
2edad1b772 Update OWNERS [skip ci] 2019-01-30 13:05:53 +01:00
Fernando Diaz
e57b30a0bc Increase Unit Test Coverage for Templates
Increases the Coverage for nginx ingress template
functions. The majority of the added unit tests
are for checking the invalid type handling.
2019-01-29 22:55:44 -06:00
Kubernetes Prow Robot
86692a4643 Merge pull request #3704 from Shopify/force-minikube-context
make sure dev-env forces context to be minikube
2019-01-29 07:50:55 -08:00
Elvin Efendi
76b9339371 make sure dev-env forces context to be minikube 2019-01-28 17:06:13 -05:00
Kubernetes Prow Robot
edfbbc0700 Merge pull request #3702 from stamm/access_logs_params
Add params for access log
2019-01-28 07:30:00 -08:00
Kubernetes Prow Robot
f12d4a5009 Merge pull request #3701 from ts-mini/update_usage_scenario
Update usage documentation for default-backend annotation
2019-01-27 14:18:18 -08:00
Tyler Horvath
5dba08fc33 make usage more clear about default-backend annotation 2019-01-26 11:47:19 -07:00
Rustam Zagirov
4726ba9cc7 add params for access log 2019-01-26 21:42:11 +03:00
Kubernetes Prow Robot
28846cc9ee Merge pull request #3698 from Shopify/fix-disable-catch-all
Fix --disable-catch-all
2019-01-25 13:17:44 -08:00
Alex Kursell
899e1c0aae Fix --disable-catch-all 2019-01-25 14:53:55 -05:00
Kubernetes Prow Robot
436000ebdd Merge pull request #3693 from bholagabbar/grpc-fortune-link
Correcting links for gRPC Fortune Teller app
2019-01-23 05:38:11 -08:00
Shreyans Sheth
576770ef75 Correcting links for gRPC Fortune Teller app
The link was erroneous, corrected the same.
2019-01-23 17:02:16 +05:30
WenMing
2a12167bad added more error info and keep test cases. 2019-01-21 17:32:18 +08:00
WenMing
eb49526c50 used table functions of LuaJIT for better performance. 2019-01-19 11:16:31 +08:00
Kubernetes Prow Robot
4e66922b53 Merge pull request #3674 from moonming/cjson-safe
used cjson.safe instead of pcall.
2019-01-18 14:22:39 -08:00
Kubernetes Prow Robot
d646a6f861 Merge pull request #3680 from Shopify/include-break-change
mention rewrite-target change for 0.22.0
2019-01-18 13:57:14 -08:00
Elvin Efendi
aec523bc4d mention rewrite-target change for 0.22.0 2019-01-18 14:53:58 -05:00
WenMing
4d33465350 used cjson.safe instead of pcall. 2019-01-18 23:12:22 +08:00
WenMing
62b6c672ad fixed test case for math.randomseed. 2019-01-18 10:08:33 +08:00
WenMing
406fbcc654 bugfix: fixed duplicated seeds.
ngx.time() + ngx.worker.pid() maybe get duplicated seeds. get from /dev/urandom first.
2019-01-18 00:21:25 +08:00
Kubernetes Prow Robot
66db41ddf8 Merge pull request #3666 from Shopify/change-legacy-func-name
rename sysctlFSFileMax to rlimitMaxNumFiles to reflect what it actually does
2019-01-16 02:41:03 -08:00
Elvin Efendi
44958ed10b rename sysctlFSFileMax to rlimitMaxNumFiles to reflect what it actually does 2019-01-15 15:34:17 -05:00
Kubernetes Prow Robot
651030e39b Merge pull request #3658 from aledbf/release-0.22
Release 0.22.0
2019-01-14 15:02:20 -08:00
Manuel Alejandro de Brito Fontes
1159fe4633 Release 0.22.0 2019-01-14 13:36:09 -03:00
Kubernetes Prow Robot
3f538cead6 Merge pull request #3664 from aledbf/fix-alias
Fix invalid validation creating prometheus valid host values
2019-01-14 07:54:07 -08:00
Kubernetes Prow Robot
6deab28a32 Merge pull request #3363 from skeeey/master
Document for cookie expires annotation
2019-01-14 07:52:28 -08:00
Manuel Alejandro de Brito Fontes
5aa0022570 Fix invalid validation creating prometheus valid host values 2019-01-14 10:59:55 -03:00
Manuel Alejandro de Brito Fontes
c74d02c3d2 Revert max-worker-connections default value (#3660) 2019-01-13 10:53:18 -03:00
Maximilian Gaß
cd45ad327c Remove stickyness cookie domain from Lua balancer to match old behavior (#3648) 2019-01-11 22:24:45 -03:00
Kubernetes Prow Robot
4e09ae52ec Merge pull request #3656 from aledbf/disable-ssl-chain
Change default value of  flag for ssl chain completion
2019-01-11 15:12:56 -08:00
Kubernetes Prow Robot
e813ac7f8c Merge pull request #3655 from aledbf/change-defaults
Remove flag sort-backends
2019-01-11 10:27:07 -08:00
Manuel Alejandro de Brito Fontes
83eaa67b6e Change default value of flag for ssl chain completion 2019-01-11 14:47:43 -03:00
Manuel Alejandro de Brito Fontes
f75eb4e73b Remove flag sort-backends 2019-01-11 14:43:02 -03:00
liuwei
6e959c184a add cookie expires document and fix a flaw for session-cookie-expires 2019-01-11 15:35:39 +08:00
Kubernetes Prow Robot
81667eb4be Merge pull request #3637 from aledbf/fix-redirect
Add support for redirect https to https (from-to-www-redirect)
2019-01-10 19:58:35 -08:00