From b787b76c6c58459a5cb52700e4ce4bacbb5b8d97 Mon Sep 17 00:00:00 2001 From: Bharat Kunwar Date: Tue, 20 Mar 2018 12:06:34 +0000 Subject: [PATCH] Update kube-apiserver.manifest.j2 Ensure that kube-apiserver will respond even if one of the nodes are down. --- .../master/templates/manifests/kube-apiserver.manifest.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index c1685410d..1d9d843fb 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -42,6 +42,7 @@ spec: - --insecure-bind-address={{ kube_apiserver_insecure_bind_address }} - --bind-address={{ kube_apiserver_bind_address }} - --apiserver-count={{ kube_apiserver_count }} + - --endpoint-reconciler-type=lease - --admission-control={{ kube_apiserver_admission_control | join(',') }} - --service-cluster-ip-range={{ kube_service_addresses }} - --service-node-port-range={{ kube_apiserver_node_port_range }}