Skip to content

Commit 51dd726

Browse files
committed
[zh] Improve translation of apiserver reference
1 parent 6aa1f9d commit 51dd726

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

content/zh-cn/docs/reference/command-line-tools-reference/kube-apiserver.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ Requests that are not rejected by another authentication method
126126
are treated as anonymous requests. Anonymous requests have a
127127
username of system:anonymous, and a group name of system:unauthenticated.
128128
-->
129-
启用到 API 服务器的安全端口的匿名请求。
130-
未被其他认证方法拒绝的请求被当做匿名请求
129+
启用针对 API 服务器的安全端口的匿名请求。
130+
未被其他身份认证方法拒绝的请求被当做匿名请求
131131
匿名请求的用户名为 <code>system:anonymous</code>,
132132
用户组名为 </code>system:unauthenticated</code>。
133133
</td>
@@ -160,7 +160,7 @@ API 的标识符。
160160
<!--
161161
The size of the buffer to store events before batching and writing. Only used in batch mode.
162162
-->
163-
批处理和写入之前用于存储事件的缓冲区大小
163+
批处理和写入事件之前用于缓存事件的缓冲区大小
164164
仅在批处理模式下使用。
165165
</td>
166166
</tr>
@@ -972,7 +972,7 @@ replace the max-in-flight handler with an enhanced one that queues
972972
and dispatches with priority and fairness
973973
-->
974974
如果为 true 且启用了 <code>APIPriorityAndFairness</code> 特性门控,
975-
请使用增强的处理程序替换 max-in-flight 处理程序,
975+
则使用增强的处理程序替换 max-in-flight 处理程序,
976976
以便根据优先级和公平性完成排队和调度。
977977
</td>
978978
</tr>
@@ -1450,12 +1450,12 @@ will be sent a GOAWAY. Clusters with single apiservers, or which
14501450
don't use a load balancer, should NOT enable this. Min is 0 (off),
14511451
Max is .02 (1/50 requests); .001 (1/1000) is a recommended starting point.
14521452
-->
1453-
为防止 HTTP/2 客户端卡在单个 API 服务器上,可启用随机关闭连接(GOAWAY)。
1454-
客户端的其他运行中请求将不会受到影响,并且客户端将重新连接
1455-
可能会在再次通过负载平衡器后登陆到其他 API 服务器上
1456-
此参数设置将发送 GOAWAY 的请求的比例
1457-
具有单个 API 服务器或不使用负载平衡器的集群不应启用此功能
1458-
最小值为0(关闭),最大值为 .02(1/50 请求);建议使用 .001(1/1000)。
1453+
为防止 HTTP/2 客户端卡在单个 API 服务器上,随机关闭某连接(GOAWAY)。
1454+
客户端的其他运行中请求不会受到影响。被关闭的客户端将重新连接
1455+
重新被负载均衡后可能会与其他 API 服务器开始通信
1456+
此参数设置将被发送 GOAWAY 指令的请求的比例
1457+
只有一个 API 服务器或不使用负载均衡器的集群不应启用此特性
1458+
最小值为 0(关闭),最大值为 .02(1/50 请求);建议使用 .001(1/1000)。
14591459
</td>
14601460
</tr>
14611461

@@ -1556,7 +1556,7 @@ will be of type NodePort, using this as the value of the port. If zero,
15561556
the Kubernetes master service will be of type ClusterIP.
15571557
-->
15581558
如果非零,那么 Kubernetes 主服务(由 apiserver 创建/维护)将是 NodePort 类型,
1559-
使用它作为端口的值
1559+
使用此字段值作为端口值
15601560
如果为零,则 Kubernetes 主服务将为 ClusterIP 类型。
15611561
</td>
15621562
</tr>
@@ -1600,7 +1600,7 @@ post-start hooks will complete successfully and therefore return true.
16001600
<!--
16011601
Maximum number of seconds between log flushes
16021602
-->
1603-
两次日志刷新之间的最大秒数
1603+
两次日志刷新之间的最大秒数
16041604
</td>
16051605
</tr>
16061606

@@ -1640,7 +1640,7 @@ DEPRECATED: the namespace from which the Kubernetes master services should be in
16401640
<!--
16411641
If non-zero, throttle each user connection to this number of bytes/sec. Currently only applies to long-running requests.
16421642
-->
1643-
如果不为零,则将每个用户连接限制为该数(字节数/秒)。
1643+
如果不为零,则将每个用户连接的带宽限制为此数值(字节数/秒)。
16441644
当前仅适用于长时间运行的请求。
16451645
</td>
16461646
</tr>
@@ -1654,8 +1654,9 @@ If non-zero, throttle each user connection to this number of bytes/sec. Currentl
16541654
This and --max-requests-inflight are summed to determine the server's total concurrency limit (which must be positive) if --enable-priority-and-fairness is true.
16551655
Otherwise, this flag limits the maximum number of mutating requests in flight, or a zero value disables the limit completely.
16561656
-->
1657-
如果 --enable-priority-and-fairness 为 true,那么此值和 --max-requests-inflight 的和将确定服务器的总并发限制(必须是正数)。
1658-
否则,该值限制进行中变更类型请求的最大个数,零表示无限制。
1657+
如果 --enable-priority-and-fairness 为 true,那么此值和 --max-requests-inflight
1658+
的和将确定服务器的总并发限制(必须是正数)。
1659+
否则,该值限制同时运行的变更类型的请求的个数上限。0 表示无限制。
16591660
</td>
16601661
</tr>
16611662

@@ -1668,7 +1669,8 @@ Otherwise, this flag limits the maximum number of mutating requests in flight, o
16681669
This and --max-mutating-requests-inflight are summed to determine the server's total concurrency limit (which must be positive) if --enable-priority-and-fairness is true.
16691670
Otherwise, this flag limits the maximum number of non-mutating requests in flight, or a zero value disables the limit completely.
16701671
-->
1671-
如果 --enable-priority-and-fairness 为 true,那么此值和 --max-mutating-requests-inflight 的和将确定服务器的总并发限制(必须是正数)。
1672+
如果 --enable-priority-and-fairness 为 true,那么此值和 --max-mutating-requests-inflight
1673+
的和将确定服务器的总并发限制(必须是正数)。
16721674
否则,该值限制进行中非变更类型请求的最大个数,零表示无限制。
16731675
</td>
16741676
</tr>
@@ -1684,8 +1686,9 @@ keep a request open before timing it out. Currently only honored by the
16841686
watch request handler, which picks a randomized value above this number
16851687
as the connection timeout, to spread out load.
16861688
-->
1687-
可选字段,表示处理程序在请求超时前,必须保持其处于打开状态的最小秒数。
1688-
当前只对监听(Watch)请求的处理程序有效,它基于这个值选择一个随机数作为连接超时值,
1689+
可选字段,表示处理程序在请求超时前,必须保持连接处于打开状态的最小秒数。
1690+
当前只对监听(Watch)请求的处理程序有效。
1691+
Watch 请求的处理程序会基于这个值选择一个随机数作为连接超时值,
16891692
以达到分散负载的目的。
16901693
</td>
16911694
</tr>
@@ -1985,7 +1988,7 @@ List of request headers to inspect for groups. X-Remote-Group is suggested.
19851988
<!--
19861989
List of request headers to inspect for usernames. X-Remote-User is common.
19871990
-->
1988-
用于查验用户名的请求头头列表。建议使用 <code>X-Remote-User</code>。
1991+
用于查验用户名的请求头部字段列表。建议使用 <code>X-Remote-User</code>。
19891992
</td>
19901993
</tr>
19911994

@@ -2220,7 +2223,7 @@ This can be used to allow load balancer to stop sending traffic to this server.
22202223
延迟终止时间。在此期间,服务器将继续正常处理请求。
22212224
端点 /healthz 和 /livez 将返回成功,但是 /readyz 立即返回失败。
22222225
在此延迟过去之后,将开始正常终止。
2223-
这可用于允许负载平衡器停止向该服务器发送流量
2226+
这可用于允许负载均衡器停止向该服务器发送流量
22242227
</td>
22252228
</tr>
22262229

0 commit comments

Comments
 (0)