From f52f9fe5705bf24c81f7f84e8e08e4c875a37551 Mon Sep 17 00:00:00 2001 From: liuhongyu Date: Mon, 26 Oct 2020 23:13:50 +0800 Subject: [PATCH] Fix the kube-proxy comment so that the document can be generated correctly Kubernetes-commit: d1525ec808c2c2ac6987f12cc68acf0b5a776650 --- config/v1alpha1/types.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/v1alpha1/types.go b/config/v1alpha1/types.go index 5399157..36dafe0 100644 --- a/config/v1alpha1/types.go +++ b/config/v1alpha1/types.go @@ -166,6 +166,8 @@ type KubeProxyConfiguration struct { DetectLocalMode LocalMode `json:"detectLocalMode"` } +// ProxyMode represents modes used by the Kubernetes proxy server. +// // Currently, three modes of proxy are available in Linux platform: 'userspace' (older, going to be EOL), 'iptables' // (newer, faster), 'ipvs'(newest, better in performance and scalability). // @@ -175,7 +177,7 @@ type KubeProxyConfiguration struct { // future). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are // insufficient, this always falls back to the userspace proxy. IPVS mode will be enabled when proxy mode is set to 'ipvs', // and the fall back path is firstly iptables and then userspace. - +// // In Windows platform, if proxy mode is blank, use the best-available proxy (currently userspace, but may change in the // future). If winkernel proxy is selected, regardless of how, but the Windows kernel can't support this mode of proxy, // this always falls back to the userspace proxy.