diff options
author | Victor Morales <victor.morales@intel.com> | 2018-11-05 02:39:53 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-11-05 02:39:53 -0800 |
commit | 53622f1dedab61c913d17b6b6fa51378a289499c (patch) | |
tree | 9ac0a95a7d23f013c601ce67d8cd5f5b139d8a6a | |
parent | 1e60c8f1bb01c8304a44948d890ade1e37fd2c6b (diff) |
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 <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
-rw-r--r-- | vagrant/inventory/group_vars/k8s-cluster.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |