Browse Source

Add nginx stub metrics if health check enabled (#4938)

Change-Id: Iac90beef20e63fb4a539f91836231469c573f402
pull/4940/head
Matthew Mosesohn 5 years ago
committed by Kubernetes Prow Robot
parent
commit
e89b47c7ee
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/kubernetes/node/templates/loadbalancer/nginx.conf.j2

4
roles/kubernetes/node/templates/loadbalancer/nginx.conf.j2

@ -45,6 +45,10 @@ http {
access_log off; access_log off;
return 200; return 200;
} }
location /stub_status {
stub_status on;
access_log off;
}
} }
{% endif %} {% endif %}
} }
Loading…
Cancel
Save