From 53622f1dedab61c913d17b6b6fa51378a289499c Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 5 Nov 2018 02:39:53 -0800 Subject: Change proxy-mode from iptables to ipvs Kubespray uses iptables by default for implementing a form of virtual IP. Ipvs has better performance when syncing proxy rules than iptables. This change sets that configuration option. Change-Id: Idd054a786284c54ceee1770d7774975b0ed43430 Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-301 --- vagrant/inventory/group_vars/k8s-cluster.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vagrant/inventory/group_vars/k8s-cluster.yml b/vagrant/inventory/group_vars/k8s-cluster.yml index 7b0e6b8c..c6008de8 100644 --- a/vagrant/inventory/group_vars/k8s-cluster.yml +++ b/vagrant/inventory/group_vars/k8s-cluster.yml @@ -62,3 +62,9 @@ kube_version: v1.11.3 # Helm deployment # NOTE(electrocuracha): This value might be changed for the istio implementation helm_enabled: false + +# Kube-proxy proxyMode configuration. +# NOTE: Ipvs is based on netfilter hook function, but uses hash table as the underlying data structure and +# works in the kernel space +# https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-ipvs +kube_proxy_mode: ipvs -- cgit 1.2.3-korg