@@ -71,7 +71,7 @@ kubectl port-forward pod/mypod :5000
7171
7272## {{% heading "options" %}}
7373
74- <table style =" width : 100% ; table-layout : fixed ;" >
74+ <table style =" width : 100% ; table-layout : fixed ;" >
7575<colgroup >
7676<col span =" 1 " style =" width : 10px ;" />
7777<col span =" 1 " />
@@ -82,7 +82,8 @@ kubectl port-forward pod/mypod :5000
8282<td colspan =" 2 " >--address strings  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"localhost"</td >
8383</tr >
8484<tr >
85- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
85+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
86+ <p >
8687<!--
8788Addresses to listen on (comma separated). Only accepts IP addresses or localhost as a value. When localhost is supplied, kubectl will try to bind on both 127.0.0.1 and ::1 and will fail if neither of these addresses are available to bind.
8889-->
@@ -96,7 +97,8 @@ Addresses to listen on (comma separated). Only accepts IP addresses or localhost
9697<td colspan =" 2 " >-h, --help</td >
9798</tr >
9899<tr >
99- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
100+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
101+ <p >
100102<!--
101103help for port-forward
102104-->
@@ -108,7 +110,8 @@ port-forward 操作的帮助命令。
108110<td colspan =" 2 " >--pod-running-timeout duration  ;  ;  ;  ;  ; <!-- Default:--> 默认值:1m0s</td >
109111</tr >
110112<tr >
111- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
113+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
114+ <p >
112115<!--
113116The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running
114117-->
@@ -121,7 +124,7 @@ The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least
121124
122125## {{% heading "parentoptions" %}}
123126
124- <table style =" width : 100% ; table-layout : fixed ;" >
127+ <table style =" width : 100% ; table-layout : fixed ;" >
125128<colgroup >
126129<col span =" 1 " style =" width : 10px ;" />
127130<col span =" 1 " />
@@ -132,7 +135,8 @@ The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least
132135<td colspan =" 2 " >--as string</td >
133136</tr >
134137<tr >
135- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
138+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
139+ <p >
136140<!--
137141Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
138142-->
@@ -144,7 +148,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
144148<td colspan =" 2 " >--as-group strings</td >
145149</tr >
146150<tr >
147- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
151+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
152+ <p >
148153<!--
149154Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
150155-->
@@ -156,7 +161,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
156161<td colspan =" 2 " >--as-uid string</td >
157162</tr >
158163<tr >
159- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
164+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
165+ <p >
160166<!--
161167UID to impersonate for the operation.
162168-->
@@ -168,7 +174,8 @@ UID to impersonate for the operation.
168174<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
169175</tr >
170176<tr >
171- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
177+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
178+ <p >
172179<!--
173180Default cache directory
174181-->
@@ -180,7 +187,8 @@ Default cache directory
180187<td colspan =" 2 " >--certificate-authority string</td >
181188</tr >
182189<tr >
183- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
190+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
191+ <p >
184192<!--
185193Path to a cert file for the certificate authority
186194-->
@@ -192,7 +200,8 @@ Path to a cert file for the certificate authority
192200<td colspan =" 2 " >--client-certificate string</td >
193201</tr >
194202<tr >
195- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
203+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
204+ <p >
196205<!--
197206Path to a client certificate file for TLS
198207-->
@@ -204,7 +213,8 @@ TLS 客户端证书文件的路径。
204213<td colspan =" 2 " >--client-key string</td >
205214</tr >
206215<tr >
207- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
216+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
217+ <p >
208218<!--
209219Path to a client key file for TLS
210220-->
@@ -216,7 +226,8 @@ TLS 客户端密钥文件的路径。
216226<td colspan =" 2 " >--cluster string</td >
217227</tr >
218228<tr >
219- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
229+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
230+ <p >
220231<!--
221232The name of the kubeconfig cluster to use
222233-->
@@ -228,43 +239,21 @@ The name of the kubeconfig cluster to use
228239<td colspan =" 2 " >--context string</td >
229240</tr >
230241<tr >
231- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
242+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
243+ <p >
232244<!--
233245The name of the kubeconfig context to use
234246-->
235247要使用的 kubeconfig 上下文的名称。
236248</p ></td >
237249</tr >
238250
239- <tr >
240- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
241- </tr >
242- <tr >
243- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
244- <!--
245- Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
246- -->
247- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
248- </p ></td >
249- </tr >
250-
251- <tr >
252- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
253- </tr >
254- <tr >
255- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
256- <!--
257- Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.
258- -->
259- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
260- </p ></td >
261- </tr >
262-
263251<tr >
264252<td colspan =" 2 " >--disable-compression</td >
265253</tr >
266254<tr >
267- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
255+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
256+ <p >
268257<!--
269258If true, opt-out of response compression for all requests to the server
270259-->
@@ -276,7 +265,8 @@ If true, opt-out of response compression for all requests to the server
276265<td colspan =" 2 " >--insecure-skip-tls-verify</td >
277266</tr >
278267<tr >
279- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
268+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
269+ <p >
280270<!--
281271If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
282272-->
@@ -288,19 +278,36 @@ If true, the server's certificate will not be checked for validity. This will ma
288278<td colspan =" 2 " >--kubeconfig string</td >
289279</tr >
290280<tr >
291- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
281+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
282+ <p >
292283<!--
293284Path to the kubeconfig file to use for CLI requests.
294285-->
295286CLI 请求要使用的 kubeconfig 文件的路径。
296287</p ></td >
297288</tr >
298289
290+ <tr >
291+ <td colspan =" 2 " >--kuberc string</td >
292+ </tr >
293+ <tr >
294+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
295+ <p >
296+ <!--
297+ Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.
298+ -->
299+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
300+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
301+ </p >
302+ </td >
303+ </tr >
304+
299305<tr >
300306<td colspan =" 2 " >--match-server-version</td >
301307</tr >
302308<tr >
303- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
309+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
310+ <p >
304311<!--
305312Require server version to match client version
306313-->
@@ -312,7 +319,8 @@ Require server version to match client version
312319<td colspan =" 2 " >-n, --namespace string</td >
313320</tr >
314321<tr >
315- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
322+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
323+ <p >
316324<!--
317325If present, the namespace scope for this CLI request
318326-->
@@ -324,7 +332,8 @@ If present, the namespace scope for this CLI request
324332<td colspan =" 2 " >--password string</td >
325333</tr >
326334<tr >
327- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
335+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
336+ <p >
328337<!--
329338Password for basic authentication to the API server
330339-->
@@ -336,7 +345,8 @@ Password for basic authentication to the API server
336345<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
337346</tr >
338347<tr >
339- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
348+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
349+ <p >
340350<!--
341351Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
342352-->
0 commit comments