From f4e6fdc19373e021dfabad18fe6d17c84f38422b Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Tue, 4 Oct 2016 18:31:42 +0300 Subject: [PATCH] Enable quorum read for apiserver This reduces the likelihood of apiserver status updates timing out due to etcd write conflicts. --- .../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 cd6d77715..56023b997 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -13,6 +13,7 @@ spec: - apiserver - --advertise-address={{ ip | default(ansible_default_ipv4.address) }} - --etcd-servers={{ etcd_access_endpoint }} + - --etcd-quorum-read=true - --insecure-bind-address={{ kube_apiserver_insecure_bind_address }} - --apiserver-count={{ kube_apiserver_count }} - --admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,ServiceAccount,ResourceQuota