@@ -26,8 +26,6 @@ auto_generated: true
26
26
-->
27
27
** 出现在:**
28
28
29
- - [ LoggingConfiguration] ( #LoggingConfiguration )
30
-
31
29
<!--
32
30
FormatOptions contains options for the different logging formats.
33
31
-->
@@ -41,8 +39,8 @@ FormatOptions 包含为不同类型日志格式提供的选项。
41
39
<a href =" #JSONOptions " ><code >JSONOptions</code ></a >
42
40
</td >
43
41
<td >
44
- <!-- [Experimental] JSON contains options for logging format " json" .-->
45
- [ 试验特性] <code >json</code > 中包含 " json" 日志格式的选项。
42
+ <!-- [Experimental] JSON contains options for logging format " json" .-->
43
+ [ 试验特性] <code >json</code > 中包含 & quot ; json& quot ; 日志格式的选项。
46
44
</td >
47
45
</tr >
48
46
</tbody >
@@ -58,9 +56,9 @@ FormatOptions 包含为不同类型日志格式提供的选项。
58
56
- [ FormatOptions] ( #FormatOptions )
59
57
60
58
<!--
61
- JSONOptions contains options for logging format " json" .
59
+ JSONOptions contains options for logging format " json" .
62
60
-->
63
- JSONOptions 包含用于 " json" 日志格式的选项。
61
+ JSONOptions 包含用于 & quot ; json& quot ; 日志格式的选项。
64
62
65
63
<table class =" table " >
66
64
<thead ><tr ><th width =" 30% " ><!-- Field--> 字段</th ><th ><!-- Description--> 描述</th ></tr ></thead >
@@ -104,8 +102,6 @@ using split streams. The default is zero, which disables buffering.-->
104
102
-->
105
103
** 出现在:**
106
104
107
- - [ LoggingConfiguration] ( #LoggingConfiguration )
108
-
109
105
<!--
110
106
VModuleConfiguration is a collection of individual file names or patterns
111
107
and the corresponding verbosity threshold.
@@ -194,13 +190,15 @@ to provide credentials. Images are expected to contain the registry domain
194
190
and URL path.
195
191
Each entry in matchImages is a pattern which can optionally contain a port and a path.
196
192
Globs can be used in the domain, but not in the port or the path. Globs are supported
197
- as subdomains like '∗ .k8s.io' or ' k8s.∗ .io' , and top-level-domains such as ' k8s.∗' .
198
- Matching partial subdomains like ' app∗ .k8s.io' is also supported. Each glob can only match
199
- a single subdomain segment, so ∗ .io does not match ∗ .k8s.io.
193
+ as subdomains like <code>* .k8s.io</code> or <code> k8s.* .io</code> , and top-level-domains such as <code> k8s.*</code> .
194
+ Matching partial subdomains like <code> app* .k8s.io</code> is also supported. Each glob can only match
195
+ a single subdomain segment, so <code>* .io</code> does not match <code>* .k8s.io</code> .
200
196
A match exists between an image and a matchImage when all of the below are true:
201
- - Both contain the same number of domain parts and each part matches.
202
- - The URL path of an imageMatch must be a prefix of the target image URL path.
203
- - If the imageMatch contains a port, then the port must match in the image as well.
197
+ <ul>
198
+ <li>Both contain the same number of domain parts and each part matches.</li>
199
+ <li>The URL path of an imageMatch must be a prefix of the target image URL path.</li>
200
+ <li>If the imageMatch contains a port, then the port must match in the image as well.</li>
201
+ </ul>
204
202
Example values of matchImages:
205
203
- 123456789.dkr.ecr.us-east-1.amazonaws.com
206
204
- ∗.azurecr.io
@@ -213,9 +211,9 @@ Example values of matchImages:
213
211
镜像应该包含镜像库域名和 URL 路径。</p >
214
212
<p ><code >matchImages</code > 中的每个条目都是一个模式字符串,其中可以包含端口号和路径。
215
213
域名部分可以包含统配符,但端口或路径部分不可以。通配符可以用作子域名,例如
216
- ' & lowast ; .k8s.io' 或 ' k8s.& lowast ; .io' ,以及顶级域名,如 ' k8s.& lowast ; ' 。</p >
217
- <p >对类似 ' app& lowast ; .k8s.io' 这类部分子域名的匹配也是支持的。
218
- 每个通配符只能用来匹配一个子域名段,所以 ' & lowast ; .io' 不会匹配 ' & lowast ; .k8s.io' 。</p >
214
+ < code > * .k8s.io</ code > 或 < code > k8s.* .io</ code > ,以及顶级域名,如 < code > k8s.* </ code > 。</p >
215
+ <p >对类似 < code > app* .k8s.io</ code > 这类部分子域名的匹配也是支持的。
216
+ 每个通配符只能用来匹配一个子域名段,所以 < code > * .io</ code > 不会匹配 < code > * .k8s.io</ code > 。</p >
219
217
<p >镜像与 <code >matchImages</code > 之间存在匹配时,以下条件都要满足:</p >
220
218
<ul >
221
219
<li >二者均包含相同个数的域名部分,并且每个域名部分都对应匹配;</li >
@@ -224,17 +222,17 @@ Example values of matchImages:
224
222
</ul >
225
223
<p ><code >matchImages</code > 的一些示例如下:</p >
226
224
<ul >
227
- <li >123456789.dkr.ecr.us-east-1.amazonaws.com</li >
228
- <li >& lowast ; .azurecr.io</li >
229
- <li >gcr.io</li >
230
- <li >& lowast ; . & lowast ; .registry.io</li >
231
- <li >registry.io:8080/path</li >
225
+ <li >< code > 123456789.dkr.ecr.us-east-1.amazonaws.com</ code > </li >
226
+ <li >< code >* .azurecr.io</ code > </li >
227
+ <li >< code > gcr.io</ code > </li >
228
+ <li >< code >*.* .registry.io</ code > </li >
229
+ <li >< code > registry.io:8080/path</ code > </li >
232
230
</ul >
233
231
</td >
234
232
</tr >
235
233
236
234
<tr ><td ><code >defaultCacheDuration</code > <B >[必需]</B ><br />
237
- <a href =" https://godoc.org /k8s.io/apimachinery/pkg/apis/meta/v1#Duration " ><code >meta/v1.Duration</code ></a >
235
+ <a href =" https://pkg.go.dev /k8s.io/apimachinery/pkg/apis/meta/v1#Duration " ><code >meta/v1.Duration</code ></a >
238
236
</td >
239
237
<td >
240
238
<!-- defaultCacheDuration is the default duration the plugin will cache credentials in-memory
0 commit comments