Update nginx to 1.15. Update manifest and performance optimize (#4458)

This commit is contained in:
Andreas Krüger
2019-04-08 11:02:29 +02:00
committed by Kubernetes Prow Robot
parent 3da392d1cf
commit d18ad63e49
4 changed files with 44 additions and 31 deletions

View File

@@ -4,6 +4,7 @@ metadata:
name: nginx-proxy
namespace: kube-system
labels:
addonmanager.kubernetes.io/mode: Reconcile
k8s-app: kube-nginx
spec:
hostNetwork: true
@@ -17,9 +18,6 @@ spec:
image: {{ nginx_image_repo }}:{{ nginx_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
resources:
limits:
cpu: {{ nginx_cpu_limit }}
memory: {{ nginx_memory_limit }}
requests:
cpu: {{ nginx_cpu_requests }}
memory: {{ nginx_memory_requests }}
@@ -30,6 +28,10 @@ spec:
httpGet:
path: /healthz
port: {{ nginx_kube_apiserver_healthcheck_port }}
readinessProbe:
httpGet:
path: /healthz
port: {{ nginx_kube_apiserver_healthcheck_port }}
{% endif -%}
volumeMounts:
- mountPath: /etc/nginx