@@ -6,7 +6,7 @@ api_metadata:
66content_type : " api_reference"
77description : " LimitRange 设置名字空间中每个资源类别的资源用量限制。"
88title : " LimitRange"
9- weight : 1
9+ weight : 2
1010---
1111<!--
1212api_metadata:
@@ -16,7 +16,7 @@ api_metadata:
1616content_type: "api_reference"
1717description: "LimitRange sets resource usage limits for each kind of resource in a Namespace."
1818title: "LimitRange"
19- weight: 1
19+ weight: 2
2020auto_generated: true
2121-->
2222
@@ -25,6 +25,7 @@ auto_generated: true
2525` import "k8s.io/api/core/v1" `
2626
2727## LimitRange {#LimitRange}
28+
2829<!--
2930LimitRange sets resource usage limits for each kind of resource in a Namespace.
3031-->
@@ -38,9 +39,11 @@ LimitRange 设置名字空间中每个资源类别的资源用量限制。
3839
3940<!--
4041- **metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a>)
42+
4143 Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4244
4345- **spec** (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRangeSpec" >}}">LimitRangeSpec</a>)
46+
4447 Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
4548-->
4649- ** metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a >)
@@ -64,6 +67,9 @@ LimitRangeSpec 定义与类别匹配的资源的最小/最大使用限制。
6467
6568<!--
6669- **limits** ([]LimitRangeItem), required
70+
71+ *Atomic: will be replaced during a merge*
72+
6773 Limits is the list of LimitRangeItem objects that are enforced.
6874
6975 <a name="LimitRangeItem"></a>
@@ -74,6 +80,8 @@ LimitRangeSpec 定义与类别匹配的资源的最小/最大使用限制。
7480-->
7581- ** limits** ([ ] LimitRangeItem),必需
7682
83+ ** 原子:将在合并期间被替换**
84+
7785 limits 是强制执行的 LimitRangeItem 对象的列表。
7886
7987 <a name =" LimitRangeItem " ></a >
@@ -85,12 +93,15 @@ LimitRangeSpec 定义与类别匹配的资源的最小/最大使用限制。
8593
8694 <!--
8795 - **limits.default** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)
96+
8897 Default resource requirement limit value by resource name if resource limit is omitted.
8998
9099 - **limits.defaultRequest** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)
100+
91101 DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
92102
93103 - **limits.max** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)
104+
94105 Max usage constraints on this kind by resource name.
95106 -->
96107
@@ -108,9 +119,11 @@ LimitRangeSpec 定义与类别匹配的资源的最小/最大使用限制。
108119
109120 <!--
110121 - **limits.maxLimitRequestRatio** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)
122+
111123 MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
112124
113125 - **limits.min** (map[string]<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>)
126+
114127 Min usage constraints on this kind by resource name.
115128 -->
116129
@@ -138,9 +151,11 @@ LimitRangeList 是 LimitRange 项的列表。
138151
139152<!--
140153- **metadata** (<a href="{{< ref "../common-definitions/list-meta#ListMeta" >}}">ListMeta</a>)
154+
141155 Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
142156
143157- **items** ([]<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a>), required
158+
144159 Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
145160-->
146161- ** metadata** (<a href="{{< ref "../common-definitions/list-meta#ListMeta" >}}">ListMeta</a >)
@@ -160,10 +175,13 @@ LimitRangeList 是 LimitRange 项的列表。
160175#### HTTP Request
161176-->
162177## 操作 {#Operations}
178+
163179<hr >
164180
165181### ` get ` 读取指定的 LimitRange
182+
166183#### HTTP 请求
184+
167185GET /api/v1/namespaces/{namespace}/limitranges/{name}
168186
169187<!--
@@ -177,7 +195,7 @@ GET /api/v1/namespaces/{namespace}/limitranges/{name}
177195
178196- ** name** (** 路径参数** ): string,必需
179197
180- LimitRange 的名称
198+ LimitRange 的名称。
181199
182200- ** namespace** (** 路径参数** ): string,必需
183201
@@ -191,6 +209,7 @@ GET /api/v1/namespaces/{namespace}/limitranges/{name}
191209#### Response
192210-->
193211#### 响应
212+
194213200 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): OK
195214
196215401: Unauthorized
@@ -200,7 +219,9 @@ GET /api/v1/namespaces/{namespace}/limitranges/{name}
200219#### HTTP Request
201220-->
202221### ` list ` 列出或监视 LimitRange 类别的对象
222+
203223#### HTTP 请求
224+
204225GET /api/v1/namespaces/{namespace}/limitranges
205226
206227<!--
@@ -272,6 +293,7 @@ GET /api/v1/namespaces/{namespace}/limitranges
272293#### Response
273294-->
274295#### 响应
296+
275297200 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRangeList" >}}">LimitRangeList</a >): OK
276298
277299401: Unauthorized
@@ -281,7 +303,9 @@ GET /api/v1/namespaces/{namespace}/limitranges
281303#### HTTP Request
282304-->
283305### ` list ` 列出或监视 LimitRange 类别的对象
306+
284307#### HTTP 请求
308+
285309GET /api/v1/limitranges
286310
287311<!--
@@ -357,7 +381,9 @@ GET /api/v1/limitranges
357381#### HTTP Request
358382-->
359383### ` create ` 创建 LimitRange
384+
360385#### HTTP 请求
386+
361387POST /api/v1/namespaces/{namespace}/limitranges
362388
363389<!--
@@ -397,6 +423,7 @@ POST /api/v1/namespaces/{namespace}/limitranges
397423#### Response
398424-->
399425#### 响应
426+
400427200 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): OK
401428
402429201 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): Created
@@ -410,7 +437,9 @@ POST /api/v1/namespaces/{namespace}/limitranges
410437#### HTTP Request
411438-->
412439### ` update ` 替换指定的 LimitRange
440+
413441#### HTTP 请求
442+
414443PUT /api/v1/namespaces/{namespace}/limitranges/{name}
415444
416445<!--
@@ -428,7 +457,7 @@ PUT /api/v1/namespaces/{namespace}/limitranges/{name}
428457
429458- ** name** (** 路径参数** ): string,必需
430459
431- LimitRange 的名称
460+ LimitRange 的名称。
432461
433462- ** namespace** (** 路径参数** ): string,必需
434463
@@ -456,6 +485,7 @@ PUT /api/v1/namespaces/{namespace}/limitranges/{name}
456485#### Response
457486-->
458487#### 响应
488+
459489200 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): OK
460490
461491201 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): Created
@@ -467,7 +497,9 @@ PUT /api/v1/namespaces/{namespace}/limitranges/{name}
467497#### HTTP Request
468498-->
469499### ` patch ` 部分更新指定的 LimitRange
500+
470501#### HTTP 请求
502+
471503PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
472504
473505<!--
@@ -486,7 +518,7 @@ PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
486518
487519- ** name** (** 路径参数** ): string,必需
488520
489- LimitRange 的名称
521+ LimitRange 的名称。
490522
491523- ** namespace** (** 路径参数** ): string,必需
492524
@@ -518,6 +550,7 @@ PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
518550#### Response
519551-->
520552#### 响应
553+
521554200 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): OK
522555
523556201 (<a href="{{< ref "../policy-resources/limit-range-v1#LimitRange" >}}">LimitRange</a >): Created
@@ -529,7 +562,9 @@ PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
529562#### HTTP Request
530563-->
531564### ` delete ` 删除 LimitRange
565+
532566#### HTTP 请求
567+
533568DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
534569
535570<!--
@@ -547,7 +582,7 @@ DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
547582
548583- ** name** (** 路径参数** ): string,必需
549584
550- LimitRange 的名称
585+ LimitRange 的名称。
551586
552587- ** namespace** (** 路径参数** ): string,必需
553588
@@ -575,6 +610,7 @@ DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
575610#### Response
576611-->
577612#### 响应
613+
578614200 (<a href="{{< ref "../common-definitions/status#Status" >}}">Status</a >): OK
579615
580616202 (<a href="{{< ref "../common-definitions/status#Status" >}}">Status</a >): Accepted
@@ -586,7 +622,9 @@ DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
586622#### HTTP Request
587623-->
588624### ` deletecollection ` 删除 LimitRange 的集合
625+
589626#### HTTP 请求
627+
590628DELETE /api/v1/namespaces/{namespace}/limitranges
591629
592630<!--
@@ -665,6 +703,7 @@ DELETE /api/v1/namespaces/{namespace}/limitranges
665703#### Response
666704-->
667705#### 响应
706+
668707200 (<a href="{{< ref "../common-definitions/status#Status" >}}">Status</a >): OK
669708
670709401: Unauthorized
0 commit comments