Change proxy-mode from iptables to ipvs 88/71888/1
authorVictor Morales <victor.morales@intel.com>
Mon, 5 Nov 2018 10:39:53 +0000 (02:39 -0800)
committerVictor Morales <victor.morales@intel.com>
Mon, 5 Nov 2018 10:39:53 +0000 (02:39 -0800)
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 <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

vagrant/inventory/group_vars/k8s-cluster.yml

index 7b0e6b8..c6008de 100644 (file)
@@ -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