mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Update nginx to 1.15. Update manifest and performance optimize (#4458)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3da392d1cf
commit
d18ad63e49
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user