From 4481b3ede7b693ff01fba1813e77bdcb3fe3c976 Mon Sep 17 00:00:00 2001 From: Pradip Caulagi Date: Tue, 27 Mar 2018 19:36:02 +0200 Subject: [PATCH] [stable/nginx-ingress] Add debug snippet for ingress controller to readme (#4153) * Add debug snippet for ingress controller to readme * Bump version --- stable/nginx-ingress/Chart.yaml | 2 +- stable/nginx-ingress/README.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/stable/nginx-ingress/Chart.yaml b/stable/nginx-ingress/Chart.yaml index 629c4f0828..57f39f452f 100755 --- a/stable/nginx-ingress/Chart.yaml +++ b/stable/nginx-ingress/Chart.yaml @@ -1,5 +1,5 @@ name: nginx-ingress -version: 0.11.2 +version: 0.11.3 appVersion: 0.11.0 description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration. icon: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Nginx_logo.svg/500px-Nginx_logo.svg.png diff --git a/stable/nginx-ingress/README.md b/stable/nginx-ingress/README.md index 57dbf20c96..743af6b85d 100644 --- a/stable/nginx-ingress/README.md +++ b/stable/nginx-ingress/README.md @@ -147,6 +147,13 @@ Alternatively, a YAML file that specifies the values for the parameters can be p $ helm install stable/nginx-ingress --name my-release -f values.yaml ``` +A useful trick to debug issues with ingress is to increase the logLevel +as described [here](https://github.com/kubernetes/ingress-nginx/blob/master/docs/troubleshooting.md#debug) + +```console +$ helm install stable/nginx-ingress --set controller.extraArgs.v=2 +``` + ## Prometheus Metrics The Nginx ingress controller can export Prometheus metrics. In order for this to work, the VTS dashboard must be enabled as well.