Skip to content

Commit 75ecdbc

Browse files
pleshakovRulox
authored andcommitted
Release 1.6.0
1 parent 6a2a6f0 commit 75ecdbc

File tree

13 files changed

+114
-26
lines changed

13 files changed

+114
-26
lines changed

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,96 @@
11
# Changelog
22

3+
### 1.6.0
4+
5+
OVERVIEW:
6+
7+
Release 1.6.0 includes:
8+
* Improvements to VirtualServer and VirtualServerRoute resources, adding support for richer load balancing behavior, more sophisticated request routing, redirects, direct responses, and blue-green and circuit breaker patterns. The VirtualServer and VirtualServerRoute resources are enabled by default and are ready for production use.
9+
* Support for OpenTracing, helping you to monitor and debug complex transactions.
10+
* An improved security posture, with support to run the Ingress Controller as a non-root user.
11+
12+
The release announcement blog post includes the overview for each feature. See https://www.nginx.com/blog/announcing-nginx-ingress-controller-for-kubernetes-release-1-6-0/
13+
14+
You will find the complete changelog for release 1.6.0, including bug fixes, improvements, and changes below.
15+
16+
FEATURES FOR VIRTUALSERVER AND VIRTUALSERVERROUTE RESOURCES:
17+
* [780](https://github.com/nginxinc/kubernetes-ingress/pull/780): Add support for canned responses to VS/VSR.
18+
* [778](https://github.com/nginxinc/kubernetes-ingress/pull/778): Add redirect support in VS/VSR.
19+
* [766](https://github.com/nginxinc/kubernetes-ingress/pull/766): Add exact matches and regex support to location paths in VS/VSR.
20+
* [748](https://github.com/nginxinc/kubernetes-ingress/pull/748): Add TLS redirect support in Virtualserver.
21+
* [745](https://github.com/nginxinc/kubernetes-ingress/pull/745): Improve routing rules in VS/VSR
22+
* [728](https://github.com/nginxinc/kubernetes-ingress/pull/728): Add session persistence in VS/VSR.
23+
* [724](https://github.com/nginxinc/kubernetes-ingress/pull/724): Add VS/VSR Prometheus metrics.
24+
* [712](https://github.com/nginxinc/kubernetes-ingress/pull/712): Add service subselector support in vs/vsr.
25+
* [707](https://github.com/nginxinc/kubernetes-ingress/pull/707): Emit warning events in VS/VSR.
26+
* [701](https://github.com/nginxinc/kubernetes-ingress/pull/701): Add support queue in upstreams for plus in VS/VSR.
27+
* [693](https://github.com/nginxinc/kubernetes-ingress/pull/693): Add ServerStatusZones support in vs/vsr.
28+
* [670](https://github.com/nginxinc/kubernetes-ingress/pull/670): Add buffering support for vs/vsr.
29+
* [660](https://github.com/nginxinc/kubernetes-ingress/pull/660): Add ClientBodyMaxSize support in vs/vsr.
30+
* [659](https://github.com/nginxinc/kubernetes-ingress/pull/659): Support configuring upstream zone sizes in VS/VSR.
31+
* [655](https://github.com/nginxinc/kubernetes-ingress/pull/655): Add slow-start support in vs/vsr.
32+
* [653](https://github.com/nginxinc/kubernetes-ingress/pull/653): Add websockets support for vs/vsr upstreams.
33+
* [641](https://github.com/nginxinc/kubernetes-ingress/pull/641): Add support for ExternalName Services for vs/vsr.
34+
* [635](https://github.com/nginxinc/kubernetes-ingress/pull/635): Add HealthChecks support for vs/vsr.
35+
* [634](https://github.com/nginxinc/kubernetes-ingress/pull/634): Add Active Connections support to vs/vsr.
36+
* [628](https://github.com/nginxinc/kubernetes-ingress/pull/628): Add retries support for vs/vsr.
37+
* [621](https://github.com/nginxinc/kubernetes-ingress/pull/621): Add TLS support for vs/vsr upstreams.
38+
* [617](https://github.com/nginxinc/kubernetes-ingress/pull/617): Add keepalive support to vs/vsr.
39+
* [612](https://github.com/nginxinc/kubernetes-ingress/pull/612): Add timeouts support to vs/vsr.
40+
* [607](https://github.com/nginxinc/kubernetes-ingress/pull/607): Add fail-timeout and max-fails support to vs/vsr.
41+
* [596](https://github.com/nginxinc/kubernetes-ingress/pull/596): Add lb-method support in vs and vsr.
42+
43+
FEATURES:
44+
* [750](https://github.com/nginxinc/kubernetes-ingress/pull/750): Add support for health status uri customisation.
45+
* [691](https://github.com/nginxinc/kubernetes-ingress/pull/691): Helper Functions for custom annotations.
46+
* [631](https://github.com/nginxinc/kubernetes-ingress/pull/631): Add max_conns support for NGINX plus.
47+
* [629](https://github.com/nginxinc/kubernetes-ingress/pull/629): Added upstream zone directive annotation. Thanks to [Victor Regalado](https://github.com/vrrs).
48+
* [616](https://github.com/nginxinc/kubernetes-ingress/pull/616): Add proxy-send-timeout to configmap key and annotation.
49+
* [615](https://github.com/nginxinc/kubernetes-ingress/pull/615): Add support for Opentracing.
50+
* [614](https://github.com/nginxinc/kubernetes-ingress/pull/614): Add max-conns annotation. Thanks to [Victor Regalado](https://github.com/vrrs).
51+
52+
53+
IMPROVEMENTS:
54+
* [678](https://github.com/nginxinc/kubernetes-ingress/pull/678): Increase defaults for server-names-hash-max-size and servers-names-hash-bucket-size ConfigMap keys.
55+
* [694](https://github.com/nginxinc/kubernetes-ingress/pull/694): Reject VS/VSR resources with enabled plus features for OSS.
56+
* Documentation improvements: [713](https://github.com/nginxinc/kubernetes-ingress/pull/713) thanks to [Matthew Wahner](https://github.com/mattwahner).
57+
58+
BUGFIXES:
59+
* [788](https://github.com/nginxinc/kubernetes-ingress/pull/788): Fix VSR updates when namespace is set implicitly.
60+
* [736](https://github.com/nginxinc/kubernetes-ingress/pull/736): Init Ingress labeled metrics on start.
61+
* [686](https://github.com/nginxinc/kubernetes-ingress/pull/686): Check if config map created for leader-election.
62+
* [664](https://github.com/nginxinc/kubernetes-ingress/pull/664): Fix reporting events for Ingress minions.
63+
* [632](https://github.com/nginxinc/kubernetes-ingress/pull/632): Fix hsts support when not using SSL. Thanks to [Martín Fernández](https://github.com/bilby91).
64+
65+
HELM CHART:
66+
* The version of the helm chart is now 0.4.0.
67+
* Add new parameters to the Chart: `controller.healthCheckURI`, `controller.resources`, `controller.logLevel`, `controller.customPorts`, `controller.service.customPorts`. Added in [750](https://github.com/nginxinc/kubernetes-ingress/pull/750), [636](https://github.com/nginxinc/kubernetes-ingress/pull/636) thanks to [Guilherme Oki](https://github.com/guilhermeoki), [600](https://github.com/nginxinc/kubernetes-ingress/pull/600), [581](https://github.com/nginxinc/kubernetes-ingress/pull/581) thanks to [Alex Meijer](https://github.com/ameijer-corsha).
68+
* [722](https://github.com/nginxinc/kubernetes-ingress/pull/722): Fix trailing leader election cm when using helm. This change might lead to a failed upgrade. See the helm upgrade instruction below.
69+
* [573](https://github.com/nginxinc/kubernetes-ingress/pull/573): Use Controller name value for app selectors.
70+
71+
CHANGES:
72+
* Update NGINX versions to 1.17.6.
73+
* Update NGINX Plus version to R20.
74+
* [799](https://github.com/nginxinc/kubernetes-ingress/pull/779): Enable CRDs by default. VirtualServer and VirtualServerRoute resources are now enabled by default.
75+
* [772](https://github.com/nginxinc/kubernetes-ingress/pull/772): Update VS/VSR version from v1alpha1 to v1. Make sure to update the `apiVersion` of your VirtualServer and VirtualServerRoute resources.
76+
* [748](https://github.com/nginxinc/kubernetes-ingress/pull/748): Add TLS redirect support in VirtualServer. The `redirect-to-https` and `ssl-redirect` ConfigMap keys no longer have any effect on generated configs for VirtualServer resources.
77+
* [745](https://github.com/nginxinc/kubernetes-ingress/pull/745): Improve routing rules. Update the spec of VirtualServer and VirtualServerRoute accordingly. See YAML examples of the changes [here](https://github.com/nginxinc/kubernetes-ingress/pull/745).
78+
* [710](https://github.com/nginxinc/kubernetes-ingress/pull/710): Run IC as non-root. Make sure to use the updated manifests to install/upgrade the Ingress Controller.
79+
* [603](https://github.com/nginxinc/kubernetes-ingress/pull/603): Update apiVersion in Deployments and DaemonSets to apps/v1.
80+
81+
UPGRADE:
82+
* For NGINX, use the 1.6.0 image from our DockerHub: `nginx/nginx-ingress:1.6.0` or `nginx/nginx-ingress:1.6.0-alpine`
83+
* For NGINX Plus, please build your own image using the 1.6.0 source code.
84+
* For Helm, use version 0.4.0 of the chart.
85+
86+
HELM UPGRADE:
87+
88+
If leader election (the `controller.reportIngressStatus.enableLeaderElection` parameter) is enabled, when upgrading to the new version of the Helm chart:
89+
1. Make sure to specify a new ConfigMap lock name (`controller.reportIngressStatus.leaderElectionLockName`) different from the one that was created by the current version. To find out the current name, check ConfigMap resources in the namespace where the Ingress Controller is running.
90+
1. After the upgrade, delete the old ConfigMap.
91+
92+
Otherwise, the helm upgrade will not succeed.
93+
394
### 1.5.8
495

596
CHANGES:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: push
22

3-
VERSION = edge
3+
VERSION = 1.6.0
44
TAG = $(VERSION)
55
PREFIX = nginx/nginx-ingress
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Read [this doc](docs/nginx-plus.md) to learn more about NGINX Ingress controller
4949

5050
We publish Ingress controller releases on GitHub. See our [releases page](https://github.com/nginxinc/kubernetes-ingress/releases).
5151

52-
The latest stable release is [1.5.8](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.5.8). For production use, we recommend that you choose the latest stable release. As an alternative, you can choose the *edge* version built from the [latest commit](https://github.com/nginxinc/kubernetes-ingress/commits/master) from the master branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.
52+
The latest stable release is [1.6.0](https://github.com/nginxinc/kubernetes-ingress/releases/tag/v1.6.0). For production use, we recommend that you choose the latest stable release. As an alternative, you can choose the *edge* version built from the [latest commit](https://github.com/nginxinc/kubernetes-ingress/commits/master) from the master branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.
5353

5454
To use the Ingress controller, you need to have access to:
5555
* An Ingress controller image.
@@ -62,7 +62,7 @@ The table below summarizes the options regarding the images, manifests, helm cha
6262

6363
| Version | Description | Image for NGINX | Image for NGINX Plus | Installation Manifests and Helm Chart | Documentation and Examples |
6464
| ------- | ----------- | --------------- | -------------------- | ---------------------------------------| -------------------------- |
65-
| Latest stable release | For production use | `nginx/nginx-ingress:1.5.8`, `nginx/nginx-ingress:1.5.8-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/build). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/build). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/deployments/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/v1.5.8/examples). |
65+
| Latest stable release | For production use | `nginx/nginx-ingress:1.6.0`, `nginx/nginx-ingress:1.6.0-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/build). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/build). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/deployments/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/examples). |
6666
| Edge | For testing and experimenting | `nginx/nginx-ingress:edge`, `nginx/nginx-ingress:edge-alpine` from [DockerHub](https://hub.docker.com/r/nginx/nginx-ingress/) or [build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/build). | [Build your own image](https://github.com/nginxinc/kubernetes-ingress/tree/master/build). | [Manifests](https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments). [Helm chart](https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments/helm-chart). | [Documentation](https://github.com/nginxinc/kubernetes-ingress/tree/master/docs). [Examples](https://github.com/nginxinc/kubernetes-ingress/tree/master/examples). |
6767

6868
## Contacts

build/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
3030
1. Clone the Ingress controller repo:
3131
```
3232
$ git clone https://github.com/nginxinc/kubernetes-ingress/
33+
$ git checkout v1.6.0
3334
```
3435
3536
1. Build the image:
@@ -40,7 +41,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
4041
```
4142
`myregistry.example.com/nginx-ingress` defines the repo in your private registry where the image will be pushed. Substitute that value with the repo in your private registry.
4243
43-
As the result, the image **myregistry.example.com/nginx-ingress:edge** is built and pushed to the registry. Note that the tag `edge` comes from the `VERSION` variable, defined in the Makefile.
44+
As the result, the image **myregistry.example.com/nginx-ingress:1.6.0** is built and pushed to the registry. Note that the tag `1.6.0` comes from the `VERSION` variable, defined in the Makefile.
4445
4546
* For NGINX Plus, first, make sure that the certificate (`nginx-repo.crt`) and the key (`nginx-repo.key`) of your license are located in the root of the project:
4647
```
@@ -54,7 +55,7 @@ We build the image using the make utility and the provided `Makefile`. Let’s c
5455
```
5556
`myregistry.example.com/nginx-plus-ingress` defines the repo in your private registry where the image will be pushed. Substitute that value with the repo in your private registry.
5657
57-
As the result, the image **myregistry.example.com/nginx-plus-ingress:edge** is built and pushed to the registry. Note that the tag `edge` comes from the `VERSION` variable, defined in the Makefile.
58+
As the result, the image **myregistry.example.com/nginx-plus-ingress:1.6.0** is built and pushed to the registry. Note that the tag `1.6.0` comes from the `VERSION` variable, defined in the Makefile.
5859
5960
Next you will find the details about available Makefile targets and variables.
6061

deployments/daemon-set/nginx-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx/nginx-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx/nginx-ingress:1.6.0
2221
name: nginx-ingress
2322
ports:
2423
- name: http

deployments/daemon-set/nginx-plus-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ spec:
1717
spec:
1818
serviceAccountName: nginx-ingress
1919
containers:
20-
- image: nginx-plus-ingress:edge
21-
imagePullPolicy: Always
20+
- image: nginx-plus-ingress:1.6.0
2221
name: nginx-plus-ingress
2322
ports:
2423
- name: http

deployments/deployment/nginx-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx/nginx-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx/nginx-ingress:1.6.0
2322
name: nginx-ingress
2423
ports:
2524
- name: http

deployments/deployment/nginx-plus-ingress.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ spec:
1818
spec:
1919
serviceAccountName: nginx-ingress
2020
containers:
21-
- image: nginx-plus-ingress:edge
22-
imagePullPolicy: Always
21+
- image: nginx-plus-ingress:1.6.0
2322
name: nginx-plus-ingress
2423
ports:
2524
- name: http

deployments/helm-chart/Chart.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: nginx-ingress
2-
version: edge
3-
appVersion: edge
2+
version: 0.4.0
3+
appVersion: 1.6.0
44
description: NGINX Ingress Controller
5-
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/helm-chart/chart-icon.png
5+
icon: https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/v1.6.0/deployments/helm-chart/chart-icon.png
66
sources:
7-
- https://github.com/nginxinc/kubernetes-ingress/tree/master/deployments/helm-chart
7+
- https://github.com/nginxinc/kubernetes-ingress/tree/v1.6.0/deployments/helm-chart
88
keywords:
99
- ingress
1010
- nginx
1111
maintainers:
1212
- name: NGINX Kubernetes Team
1313
14-

deployments/helm-chart/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
66

77
## Prerequisites
88

9-
- Kubernetes 1.6+.
9+
- Kubernetes 1.12+.
1010
- Helm 2.8.x+.
1111
- Git.
1212
- If you’d like to use NGINX Plus:
@@ -19,27 +19,28 @@ This chart deploys the NGINX Ingress controller in your Kubernetes cluster.
1919

2020
1. Add NGINX Helm repository:
2121
```
22-
$ helm repo add nginx-edge https://helm.nginx.com/edge
22+
$ helm repo add nginx-stable https://helm.nginx.com/stable
2323
$ helm repo update
2424
```
2525
2626
2. To install the chart with the release name my-release (my-release is the name that you choose):
2727
2828
For NGINX:
2929
```
30-
$ helm install nginx-edge/nginx-ingress --name my-release
30+
$ helm install nginx-stable/nginx-ingress --name my-release
3131
```
3232
3333
For NGINX Plus (assuming you have pushed the Ingress controller image `nginx-plus-ingress` to your private registry `myregistry.example.com`):
3434
```
35-
$ helm install nginx-edge/nginx-ingress --name my-release --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
35+
$ helm install nginx-stable/nginx-ingress --name my-release --set controller.image.repository=myregistry.example.com/nginx-plus-ingress --set controller.nginxplus=true
3636
```
3737
3838
### Installing Using Chart Sources
3939
4040
1. Clone the Ingress controller repo:
4141
```console
4242
$ git clone https://github.com/nginxinc/kubernetes-ingress/
43+
$ git checkout v1.6.0
4344
```
4445
2. Change your working directory to /deployments/helm-chart:
4546
```console
@@ -86,7 +87,7 @@ Parameter | Description | Default
8687
`controller.nginxDebug` | Enables debugging for NGINX. Uses the `nginx-debug` binary. Requires `error-log-level: debug` in the ConfigMap via `controller.config.entries`. | false
8788
`controller.logLevel` | The log level of the Ingress Controller. | 1
8889
`controller.image.repository` | The image repository of the Ingress controller. | nginx/nginx-ingress
89-
`controller.image.tag` | The tag of the Ingress controller image. | edge
90+
`controller.image.tag` | The tag of the Ingress controller image. | 1.6.0
9091
`controller.image.pullPolicy` | The pull policy for the Ingress controller image. | IfNotPresent
9192
`controller.config.name` | The name of the ConfigMap used by the Ingress controller. | Autogenerated
9293
`controller.config.entries` | The entries of the ConfigMap for customizing NGINX configuration. | {}

0 commit comments

Comments
 (0)