diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/kube-proxy.md b/content/zh-cn/docs/reference/command-line-tools-reference/kube-proxy.md
index 2cb541d830..3484f8c4da 100644
--- a/content/zh-cn/docs/reference/command-line-tools-reference/kube-proxy.md
+++ b/content/zh-cn/docs/reference/command-line-tools-reference/kube-proxy.md
@@ -54,31 +54,42 @@ kube-proxy [flags]
---azure-container-registry-config string |
+--add_dir_header |
|
-包含 Azure 容器仓库配置信息的文件的路径。
+如果为 true,将文件目录添加到日志消息的头部
|
---bind-address 0.0.0.0 默认值:0.0.0.0 |
+--alsologtostderr |
+
+
+ |
+
+设置为 true 表示将日志输出到文件的同时输出到 stderr
+
+ |
+
+
+
+--bind-address string 默认值:0.0.0.0 |
|
-代理服务器要使用的 IP 地址(设置为 '0.0.0.0' 表示要使用所有 IPv4 接口;
-设置为 '::' 表示使用所有 IPv6 接口)。
-如果配置文件由 --config 指定,则忽略此参数。
-
- |
+代理服务器的 IP 地址(所有 IPv4 接口设置为 “0.0.0.0”,所有 IPv6 接口设置为 “::”)。
+如果配置文件由 --config
指定,则忽略此参数。
+
@@ -89,20 +100,17 @@ The IP address for the proxy server to serve on (set to '0.0.0.0' for all IPv4 i
-若此标志为 true,kube-proxy 会将无法绑定端口的失败操作视为致命错误并退出。
+如果为 true,kube-proxy 会将无法绑定端口的失败操作视为致命错误并退出。
---boot-id-file string 默认值:"/proc/sys/kernel/random/boot_id" |
+--boot_id_file string 默认值:"/proc/sys/kernel/random/boot_id" |
|
-
-用来检查 Boot-ID 的文件名,用逗号隔开。
-第一个存在的文件会被使用。
+
+逗号分隔的文件列表,用于检查 boot-id。使用第一个存在的文件。
|
@@ -119,30 +127,6 @@ If true cleanup iptables and ipvs rules and exit.
-
---cloud-provider-gce-l7lb-src-cidrs cidrs 默认值:130.211.0.0/22,35.191.0.0/16 |
-
-
- |
-
-此值表示,在 GCE 防火墙中打开 CIDRs 用于 L7 LB 流量代理 & 健康检查。
- |
-
-
-
---cloud-provider-gce-lb-src-cidrs cidrs 默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
-
-
- |
-
-此值表示,在 GCE 防火墙中打开 CIDRs 用于 L4 LB 流量代理 & 健康检查。
- |
-
-
--cluster-cidr string |
@@ -242,32 +226,6 @@ Idle timeout for established TCP connections (0 to leave as-is)
-
---default-not-ready-toleration-seconds int 默认值:300 |
-
-
- |
-
-对污点 NotReady:NoExecute 的容忍时长(以秒计)。
-默认情况下这一容忍度会被添加到尚未具有此容忍度的每个 pod 中。
- |
-
-
-
---default-unreachable-toleration-seconds int 默认值:300 |
-
-
- |
-
-对污点 Unreachable:NoExecute 的容忍时长(以秒计)
-默认情况下这一容忍度会被添加到尚未具有此容忍度的每个 pod 中。
- |
-
-
--detect-local-mode LocalMode |
@@ -283,13 +241,13 @@ Mode to use to detect local traffic. This parameter is ignored if a config file
---feature-gates <逗号分隔的 'key=True|False' 对’> |
+--feature-gates <逗号分隔的 'key=True|False' 对> |
|
-一组键=值(key=value)对,描述了 alpha/experimental 的特征。可选项有:
+一组键=值(key=value)对,描述了 alpha/experimental 的特征。可选项有:
APIListChunking=true|false (BETA - 默认值=true)
APIPriorityAndFairness=true|false (BETA - 默认值=true)
APIResponseCompression=true|false (BETA - 默认值=true)
@@ -415,7 +372,6 @@ CSIMigrationPortworx=true|false (ALPHA - 默认值=false)
CSIMigrationRBD=true|false (ALPHA - 默认值=false)
CSIMigrationvSphere=true|false (BETA - 默认值=false)
CSIVolumeHealth=true|false (ALPHA - 默认值=false)
-ContextualLogging=true|false (ALPHA - 默认值=false)
CronJobTimeZone=true|false (ALPHA - 默认值=false)
CustomCPUCFSQuotaPeriod=true|false (ALPHA - 默认值=false)
CustomResourceValidationExpressions=true|false (ALPHA - 默认值=false)
@@ -739,18 +695,60 @@ Path to kubeconfig file with authorization information (the master location is s
|
---machine-id-file string 默认值:"/etc/machine-id,/var/lib/dbus/machine-id" |
+--log_backtrace_at <“file:N” 格式的字符串> 默认值:0 |
|
-用来检查 Machine-ID 的文件列表,用逗号分隔。
-使用找到的第一个文件。
+当日志命中 file:N,触发一次堆栈追踪
|
+
+--log_dir string |
+
+
+ |
+
+如果非空,则在此目录中写入日志文件
+ |
+
+
+
+--log_file string |
+
+
+ |
+
+如果非空,使用此日志文件
+ |
+
+
+
+--log_file_max_size uint 默认值:1800 |
+
+
+ |
+
+定义日志文件可以增长到的最大大小。单位是兆字节。
+如果值为 0,则最大文件大小不受限制。
+ |
+
+
+
+--logtostderr 默认值:true |
+
+
+ |
+
+
+日志输出到 stderr 而不是文件。
+
+ |
+
+
--machine_id_file string 默认值:"/etc/machine-id,/var/lib/dbus/machine-id" |
@@ -823,6 +821,16 @@ A string slice of values which specify the addresses to use for NodePorts. Value
+
+--one_output |
+
+
+ |
+
+如果为 true,则仅将日志写入本地的严重性级别(而不是写入每个较低的严重性级别)
+ |
+
+
--oom-score-adj int32 默认值:-999 |
@@ -928,6 +936,36 @@ The previous version for which you want to show hidden metrics. Only the previou
+
+--skip_headers |
+
+
+ |
+
+如果为 true,则避免在日志消息中使用头部前缀
+ |
+
+
+
+--skip_log_headers |
+
+
+ |
+
+如果为 true,则在打开日志文件时避免使用头部
+ |
+
+
+
+--stderrthreshold int 默认值:2 |
+
+
+ |
+
+设置严重程度达到或超过此阈值的日志输出到标准错误输出。
+ |
+
+
--udp-timeout duration 默认值:250ms |
@@ -942,6 +980,16 @@ How long an idle UDP connection will be kept open (e.g. '250ms', '2s'). Must be
+
+-v, --v int |
+
+
+ |
+
+设置日志级别详细程度的数值。
+ |
+
+
--version version[=true] |
@@ -955,6 +1003,16 @@ Print version information and quit
+
+--vmodule <逗号分割的 “pattern=N” 设置> |
+
+
+ |
+
+以逗号分割的 pattern=N 设置的列表,用于文件过滤日志
+ |
+
+
--write-config-to string |