Add a variable that defaults to kube_apiserver_port that defines

the which port the local nginx proxy should listen on for HA
local balancer configurations.
This commit is contained in:
Greg Althaus
2017-01-14 23:38:07 -06:00
parent 2a61ad1b57
commit 6905edbeb6
3 changed files with 4 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ stream {
}
server {
listen 127.0.0.1:{{ kube_apiserver_port }};
listen 127.0.0.1:{{ nginx_kube_apiserver_port }};
proxy_pass kube_apiserver;
proxy_timeout 10m;
proxy_connect_timeout 1s;