From a05cc0fb9d6386c6635aaf02adb6132fef7a41d9 Mon Sep 17 00:00:00 2001 From: Lion-Wei Date: Thu, 9 Nov 2017 10:47:25 +0800 Subject: [PATCH] update ipvs readme file --- pkg/proxy/ipvs/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/proxy/ipvs/README.md b/pkg/proxy/ipvs/README.md index 6b225a68650..c0f616c9217 100644 --- a/pkg/proxy/ipvs/README.md +++ b/pkg/proxy/ipvs/README.md @@ -47,6 +47,18 @@ kubeadm init --feature-gates=SupportIPVSProxyMode=true to specify the ipvs mode before deploying the cluster if want to run kube-proxy in ipvs mode. +If you are using kubeadm with a configuration file, you can specify the ipvs mode adding `SupportIPVSProxyMode: true` below the `featureGates` field. +Then the configuration file is similar to: + +```json +kind: MasterConfiguration +apiVersion: kubeadm.k8s.io/v1alpha1 +... +featureGates: + SupportIPVSProxyMode: true +... +``` + #### Test Use `ipvsadm` tool to test whether the kube-proxy start succeed. By default we may get result like: