[stable_nginx-ingress] healthz endpoint as hostport (#10612)

Signed-off-by: peter.bos <peter.bos@alliander.com>
Signed-off-by: peter bos <peter.bos@alliander.com>
This commit is contained in:
Peter Bos
2019-02-04 12:39:54 -08:00
committed by Kubernetes Prow Robot
parent d3bd042ace
commit 4564a08397
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nginx-ingress
version: 1.2.3
version: 1.3.0
appVersion: 0.22.0
home: https://github.com/kubernetes/ingress-nginx
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
+1
View File
@@ -68,6 +68,7 @@ Parameter | Description | Default
`controller.daemonset.useHostPort` | If `controller.kind` is `DaemonSet`, this will enable `hostPort` for TCP/80 and TCP/443 | false
`controller.daemonset.hostPorts.http` | If `controller.daemonset.useHostPort` is `true` and this is non-empty, it sets the hostPort | `"80"`
`controller.daemonset.hostPorts.https` | If `controller.daemonset.useHostPort` is `true` and this is non-empty, it sets the hostPort | `"443"`
`controller.daemonset.hostPorts.stats` | If `controller.daemonset.useHostPort` is `true` and this is non-empty, it sets the hostPort | `"18080"`
`controller.tolerations` | node taints to tolerate (requires Kubernetes >=1.6) | `[]`
`controller.affinity` | node/pod affinities (requires Kubernetes >=1.6) | `{}`
`controller.minReadySeconds` | how many seconds a pod needs to be ready before killing the next, during update | `0`
@@ -125,6 +125,9 @@ spec:
- name: stats
containerPort: 18080
protocol: TCP
{{- if .Values.controller.daemonset.useHostPort }}
hostPort: {{ .Values.controller.daemonset.hostPorts.stats }}
{{- end }}
{{- if .Values.controller.metrics.enabled }}
- name: metrics
containerPort: 10254
+2
View File
@@ -31,6 +31,8 @@ controller:
hostPorts:
http: 80
https: 443
## healthz endpoint
stats: 18080
## Required only if defaultBackend.enabled = false
## Must be <namespace>/<service_name>