Commit graph

3757 commits

Author SHA1 Message Date
Kubernetes Prow Robot
fea48a3a13
Merge pull request #3602 from aledbf/update-image
Update nginx image
2019-01-02 07:53:06 -08:00
Kubernetes Prow Robot
6d8ffd99aa
Merge pull request #3582 from aledbf/sort-by-creation
Sort ingresses by creation timestamp
2019-01-02 07:42:05 -08:00
Kevin Pullin
f0173f0822 Pass k8s Service data through to the TCP balancer script.
Fixes broken L4 ExternalName services.

Details
---------

The `tcp_udp_balancer.lua` script checks if the property
`backend.service.spec["type"]` equals "ExternalName".  If so,
the script does a DNS lookup on the name in order to configure
the backend configuration.

However, before this commit, the k8s `Service` data was
_not_ set on the `Backend` struct passed into the `tcp_udp_balancer.lua`
script and therefore the ExternalName check always returned false.

This commit fixes the issue by setting the `Service` field on
the `Backend` struct. This also requires adding a new field to the
`L4Backend` struct first, so that it's available to set on the `Backend`.
2019-01-01 20:50:41 -08:00
Kubernetes Prow Robot
c3eeaca972
Merge pull request #3604 from ramnes/max-worker-open-files
Add an option to automatically set worker_connections based on worker_rlimit_nofile
2018-12-31 04:22:30 -08:00
Kubernetes Prow Robot
9ddaf27a16
Merge pull request #3605 from ramnes/fix-cla-urls
Fix CLA URLs
2018-12-28 04:48:05 -08:00
ramnes
d70a1d119d Fix CLA URLs 2018-12-27 18:54:51 +01:00
ramnes
bf7b5ebd81 Add an option to automatically set worker_connections based on worker_rlimit_nofile 2018-12-27 18:36:19 +01:00
Manuel Alejandro de Brito Fontes
b2fa243b97
Sort ingresses by creation timestamp 2018-12-27 10:48:01 -03:00
Manuel Alejandro de Brito Fontes
5119f64e5c
Update nginx to 1.15.8 (#3601) 2018-12-26 19:12:21 -03:00
Manuel Alejandro de Brito Fontes
9a02768531 Update nginx image 2018-12-26 17:49:27 -03:00
Kubernetes Prow Robot
cac694ecce
Merge pull request #3240 from estaleiro/http2-push-preload
Adds support for HTTP2 Push Preload annotation
2018-12-24 12:05:47 -08:00
Anish Ramasekar
382049a0bf Adds support for HTTP2 Push Preload annotation
update test for backendprotocols

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Adds support for HTTP2 Push Preload annotation
2018-12-24 17:13:25 -02:00
Manuel Alejandro de Brito Fontes
1109db2d09 Add e2e test 2018-12-21 19:30:34 -03:00
Manuel Alejandro de Brito Fontes
9be174738d Add allowPrivilegeEscalation 2018-12-21 19:30:19 -03:00
Kubernetes Prow Robot
ecc527bc6e
Merge pull request #3594 from bboreham/metrics-per-host-optional
Add a flag to make per-host metrics optional
2018-12-21 11:55:35 -08:00
Maxime Ginters
1678d99a03 Add --disable-catch-all option to disable catch-all server 2018-12-21 13:22:26 -05:00
Bryan Boreham
f33a2090dd Add a flag to make per-host metrics optional
When serving many hosts from one nginx, the metrics may become too
numerous for Prometheus.  Add a flag to disable the host label, so
that metrics are totalled across all hosts.
2018-12-21 17:31:54 +00:00
Kubernetes Prow Robot
63b01370e4
Merge pull request #3548 from breunigs/integration-test-graceful-shutdown-clean
e2e test to ensure graceful shutdown does not lose requests
2018-12-21 06:33:27 -08:00
Kubernetes Prow Robot
a99f832c32
Merge pull request #3581 from Shopify/lua-randomseed-per-worker
lua randomseed per worker
2018-12-20 05:49:39 -08:00
Kubernetes Prow Robot
22efaab1f7
Merge pull request #3575 from Shopify/document-ingress-wildcard
Add documentation for spec.rules.host format
2018-12-20 05:37:53 -08:00
Elvin Efendi
4896b064ca lua randomseed per worker 2018-12-20 17:09:29 +04:00
Kubernetes Prow Robot
66aecbd0b2
Merge pull request #3587 from Shopify/fix-e2e-test
adjust dind istallation
2018-12-20 05:06:41 -08:00
Elvin Efendi
17d4b2c64c fix dind-cluster executable path 2018-12-20 16:27:42 +04:00
Kubernetes Prow Robot
4e98666720
Merge pull request #3584 from aledbf/update-go-version
Update go to 1.11.4
2018-12-19 07:27:02 -08:00
Manuel Alejandro de Brito Fontes
d9bc997e7c Update go to 1.11.4 2018-12-19 11:33:47 -03:00
Kubernetes Prow Robot
d9f84de9d0
Merge pull request #3577 from ddgenome/deploy-namespace-labels
Add standard labels to namespace specs
2018-12-18 16:46:19 -08:00
David Dooling
83050fe3df Add standard labels to namespace specs
Add standard app resource metadata labels to the namespaces specs
created when deploying nginx-ingress.

Closes kubernetes/ingress-nginx#3576
2018-12-18 16:38:42 -06:00
Kubernetes Prow Robot
281cba6749
Merge pull request #3573 from diazjf/doc-update
Update Certificate Generation Docs to not use MD5
2018-12-18 12:12:07 -08:00
Kubernetes Prow Robot
1b06cf7ed2
Merge pull request #3566 from diazjf/unit-locs
Add Unit Tests for getIngressInformation
2018-12-18 10:04:55 -08:00
Zenara Daley
e4459940fa add documentation 2018-12-18 12:53:54 -05:00
Fernando Diaz
85ab6bf26d Update Certificate Generation Docs to not use MD5
Updates the TLS and CA certificate sections to use algorithms
better than md5. Using md5 as a digest causes nginx to fail
to load because it is not accepted by open ssl.

Closes #3571
2018-12-18 11:17:06 -06:00
Fernando Diaz
429110aa13 Add Unit Tests for getIngressInformation
Adds a unit test for the getIngressInformation
function.
2018-12-18 11:10:48 -06:00
Kubernetes Prow Robot
c6629accf9
Merge pull request #3569 from Shopify/fix-status-updater
fix status updated: make sure ingress.status is copied
2018-12-17 09:26:55 -08:00
Elvin Efendi
7a00d52141 fix status updated: make sure ingress.status is copied 2018-12-17 16:19:02 +04:00
Kubernetes Prow Robot
ee3a8fe581
Merge pull request #3505 from Shopify/watch-pod-lua
Update lua configuration_data when number of controller pod change
2018-12-17 00:10:30 -08:00
Maxime Ginters
f90881b367 Update lua configuration_data when number of controller pod change 2018-12-14 13:34:54 -05:00
Kubernetes Prow Robot
921763c182
Merge pull request #3562 from gonzalesraul/patch-1
Rename nginx.yaml to nginx.json
2018-12-14 09:40:12 -08:00
Raul Gonzales
9694ab6121
Rename nginx.yaml to nginx.json 2018-12-14 11:39:12 +00:00
Zenara Daley
67654a6fd5 Generalize Rewrite Block Creation 2018-12-13 13:02:05 -05:00
Kubernetes Prow Robot
ed5410df38
Merge pull request #3551 from Shopify/nested-wildcart-certificate
Fix --enable-dynamic-certificates for nested subdomain
2018-12-12 07:33:27 -08:00
Maxime Ginters
ff8bfb6a86 Fix --enable-dynamic-certificates for nested subdomain 2018-12-12 09:16:39 -05:00
Kubernetes Prow Robot
02e6424b32
Merge pull request #3553 from zhuguihua/handle_error_when_executing_diff
handle_error_when_executing_diff
2018-12-12 04:58:21 -08:00
Guihua Zhu
d22146f3b0 handle_error_when_executing_diff
Signed-off-by: Guihua Zhu <zhuguihua@cmss.chinamobile.com>
2018-12-12 13:49:17 +08:00
Stefan Breunig
571bcfc433 e2e test to ensure graceful shutdown does not lose requests (see #3533 #3536) 2018-12-11 11:37:19 +01:00
Kubernetes Prow Robot
19b3b6be0c
Merge pull request #3503 from zhuguihua/compare_error_with_error_types_from_apimachinery
compare error with error types from k8s.io/apimachinery/pkg/api/errors
2018-12-11 00:41:42 -08:00
Kubernetes Prow Robot
8ae01a2cf9
Merge pull request #3525 from Shopify/order_independence_canary_ann
make canary ingresses independent of the order they were applied
2018-12-10 11:14:55 -08:00
Conor Landry
d5840a4071 make canary ingresses independent of the order they were applied 2018-12-10 13:17:05 -05:00
Kubernetes Prow Robot
55b4f00368
Merge pull request #3536 from aledbf/replace-entrypoint
Replace dockerfile entrypoint
2018-12-10 06:42:00 -08:00
Manuel Alejandro de Brito Fontes
41700044ad Replace dockerfile entrypoint 2018-12-07 14:00:55 -03:00
Kubernetes Prow Robot
f6f18a167d
Merge pull request #3532 from ArchangelSDY/ingress-update
Ignore updates of ingresses with invalid class
2018-12-07 04:28:14 -08:00