-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2464 from valohai/doc-fixes
Documentation fixes & improvements
- Loading branch information
Showing
19 changed files
with
405 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Upgrading | ||
|
||
!!! important | ||
No matter the method you use for upgrading, *if you use template overrides, | ||
make sure your templates are compatible with the new version of ingress-nginx*. | ||
|
||
## Without Helm | ||
|
||
To upgrade your ingress-nginx installation, it should be enough to change the version of the image | ||
in the controller Deployment. | ||
|
||
I.e. if your deployment resource looks like (partial example): | ||
|
||
```yaml | ||
kind: Deployment | ||
metadata: | ||
name: nginx-ingress-controller | ||
namespace: ingress-nginx | ||
spec: | ||
replicas: 1 | ||
selector: ... | ||
template: | ||
metadata: ... | ||
spec: | ||
containers: | ||
- name: nginx-ingress-controller | ||
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.9.0 | ||
args: ... | ||
``` | ||
simply change the `0.9.0` tag to the version you wish to upgrade to. | ||
The easiest way to do this is e.g. (do note you may need to change the name parameter according to your installation): | ||
|
||
``` | ||
kubectl set image deployment/nginx-ingress-controller \ | ||
nginx-ingress-controller=nginx:quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.14.0 | ||
``` | ||
|
||
For interactive editing, use `kubectl edit deployment nginx-ingress-controller`. | ||
|
||
|
||
## With Helm | ||
|
||
If you installed ingress-nginx using the Helm command in the deployment docs so its name is `ngx-ingress`, | ||
you should be able to upgrade using | ||
|
||
```shell | ||
helm upgrade --reuse-values ngx-ingress stable/nginx-ingress | ||
``` | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
docs/examples/customization/custom-vts-metrics-prometheus/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Ingress examples | ||
|
||
This directory contains a catalog of examples on how to run, configure and scale Ingress. | ||
Please review the [prerequisites](PREREQUISITES.md) before trying them. | ||
|
||
Category | Name | Description | Complexity Level | ||
---------| ---- | ----------- | ---------------- | ||
Apps | [Docker Registry](docker-registry/README.md) | TODO | TODO | ||
Auth | [Basic authentication](auth/basic/README.md) | password protect your website | Intermediate | ||
Auth | [Client certificate authentication](auth/client-certs/README.md) | secure your website with client certificate authentication | Intermediate | ||
Auth | [External authentication plugin](auth/external-auth/README.md) | defer to an external authentication service | Intermediate | ||
Auth | [OAuth external auth](auth/oauth-external-auth/README.md) | TODO | TODO | ||
Customization | [Configuration snippets](customization/configuration-snippets/README.md) | customize nginx location configuration using annotations | Advanced | ||
Customization | [Custom configuration](customization/custom-configuration/README.md) | TODO | TODO | ||
Customization | [Custom DH parameters for perfect forward secrecy](customization/ssl-dh-param/README.md) | TODO | TODO | ||
Customization | [Custom errors](customization/custom-errors/README.md) | TODO | TODO | ||
Customization | [Custom headers](customization/custom-headers/README.md) | set custom headers before sending traffic to backends | Advanced | ||
Customization | [Custom upstream check](customization/custom-upstream-check/README.md) | TODO | TODO | ||
Customization | [Custom VTS metrics with Prometheus](customization/custom-vts-metrics-prometheus/README.md) | TODO | TODO | ||
Customization | [External authentication with response header propagation](customization/external-auth-headers/README.md) | TODO | TODO | ||
Customization | [Sysctl tuning](customization/sysctl/README.md) | TODO | TODO | ||
Features | [Rewrite](rewrite/README.md) | TODO | TODO | ||
Features | [Session stickiness](affinity/cookie/README.md) | route requests consistently to the same endpoint | Advanced | ||
Scaling | [Static IP](static-ip/README.md) | a single ingress gets a single static IP | Intermediate | ||
TLS | [Multi TLS certificate termination](multi-tls/README.md) | TODO | TODO | ||
TLS | [TLS termination](tls-termination/README.md) | TODO | TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Default backend | ||
|
||
The default backend is a service which handles all URL paths and hosts the nginx controller doesn't understand | ||
(i.e., all the requests that are not mapped with an Ingress). | ||
|
||
Basically a default backend exposes two URLs: | ||
|
||
- `/healthz` that returns 200 | ||
- `/` that returns 404 | ||
|
||
!!! example | ||
The sub-directory [`/images/404-server`](https://github.com/kubernetes/ingress-nginx/tree/master/images/404-server) | ||
provides a service which satisfies the requirements for a default backend. | ||
|
||
!!! example | ||
The sub-directory [`/images/custom-error-pages`](https://github.com/kubernetes/ingress-nginx/tree/master/images/custom-error-pages) | ||
provides an additional service for the purpose of customizing the error pages served via the default backend. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.