mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user