Skip to content

Commit c8f93d2

Browse files
authored
Merge pull request #47814 from windsonsea/cidrv1
[zh] Add ip-address-v1beta1.md
2 parents d90f059 + 69a008c commit c8f93d2

File tree

1 file changed

+52
-60
lines changed

1 file changed

+52
-60
lines changed

content/zh-cn/docs/reference/kubernetes-api/policy-resources/ip-address-v1alpha1.md renamed to content/zh-cn/docs/reference/kubernetes-api/cluster-resources/ip-address-v1beta1.md

Lines changed: 52 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
---
22
api_metadata:
3-
apiVersion: "networking.k8s.io/v1alpha1"
4-
import: "k8s.io/api/networking/v1alpha1"
3+
apiVersion: "networking.k8s.io/v1beta1"
4+
import: "k8s.io/api/networking/v1beta1"
55
kind: "IPAddress"
66
content_type: "api_reference"
77
description: "IPAddress 表示单个 IP 族的单个 IP。"
8-
title: "IPAddress v1alpha1"
9-
weight: 5
8+
title: "IPAddress v1beta1"
9+
weight: 4
1010
---
1111
<!--
1212
api_metadata:
13-
apiVersion: "networking.k8s.io/v1alpha1"
14-
import: "k8s.io/api/networking/v1alpha1"
13+
apiVersion: "networking.k8s.io/v1beta1"
14+
import: "k8s.io/api/networking/v1beta1"
1515
kind: "IPAddress"
1616
content_type: "api_reference"
1717
description: "IPAddress represents a single IP of a single IP Family."
18-
title: "IPAddress v1alpha1"
19-
weight: 5
18+
title: "IPAddress v1beta1"
19+
weight: 4
2020
auto_generated: true
2121
-->
2222

23-
`apiVersion: networking.k8s.io/v1alpha1`
23+
`apiVersion: networking.k8s.io/v1beta1`
2424

25-
`import "k8s.io/api/networking/v1alpha1"`
25+
`import "k8s.io/api/networking/v1beta1"`
2626

2727
## IPAddress {#IPAddress}
2828

@@ -38,7 +38,7 @@ IPv4 地址由点分隔的四个十进制数字组成,前导零可省略;IPv
3838

3939
<hr>
4040

41-
- **apiVersion**: networking.k8s.io/v1alpha1
41+
- **apiVersion**: networking.k8s.io/v1beta1
4242

4343
- **kind**: IPAddress
4444

@@ -47,7 +47,7 @@ IPv4 地址由点分隔的四个十进制数字组成,前导零可省略;IPv
4747
4848
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4949
50-
- **spec** (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddressSpec" >}}">IPAddressSpec</a>)
50+
- **spec** (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddressSpec" >}}">IPAddressSpec</a>)
5151
5252
spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
5353
-->
@@ -56,7 +56,7 @@ IPv4 地址由点分隔的四个十进制数字组成,前导零可省略;IPv
5656
标准的对象元数据。更多信息:
5757
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
5858

59-
- **spec** (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddressSpec" >}}">IPAddressSpec</a>)
59+
- **spec** (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddressSpec" >}}">IPAddressSpec</a>)
6060

6161
spec 是 IPAddress 的预期状态。更多信息:
6262
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -71,63 +71,55 @@ IPAddressSpec 描述 IP 地址中的属性。
7171
<hr>
7272

7373
<!--
74-
- **parentRef** (ParentReference)
74+
- **parentRef** (ParentReference), required
7575
7676
ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
7777
7878
<a name="ParentReference"></a>
7979
*ParentReference describes a reference to a parent object.*
8080
-->
81-
- **parentRef** (ParentReference)
81+
- **parentRef** (ParentReference),必需
8282

8383
parentRef 引用挂接 IPAddress 的资源。IPAddress 必须引用一个父对象。
8484

8585
<a name="ParentReference"></a>
8686
**ParentReference 描述指向父对象的引用。**
8787

8888
<!--
89-
- **parentRef.group** (string)
90-
91-
Group is the group of the object being referenced.
92-
93-
- **parentRef.name** (string)
89+
- **parentRef.name** (string), required
9490
9591
Name is the name of the object being referenced.
9692
97-
- **parentRef.namespace** (string)
93+
- **parentRef.resource** (string), required
9894
99-
Namespace is the namespace of the object being referenced.
95+
Resource is the resource of the object being referenced.
10096
-->
10197

102-
- **parentRef.group** (string)
103-
104-
group 是被引用的对象的组。
105-
106-
- **parentRef.name** (string)
98+
- **parentRef.name** (string),必需
10799

108100
name 是被引用的对象的名称。
109101

110-
- **parentRef.namespace** (string)
102+
- **parentRef.resource** (string),必需
111103

112-
namespace 是被引用的对象的名字空间
104+
resource 是被引用的对象的资源
113105

114106
<!--
115-
- **parentRef.resource** (string)
107+
- **parentRef.group** (string)
116108
117-
Resource is the resource of the object being referenced.
109+
Group is the group of the object being referenced.
118110
119-
- **parentRef.uid** (string)
111+
- **parentRef.namespace** (string)
120112
121-
UID is the uid of the object being referenced.
113+
Namespace is the namespace of the object being referenced.
122114
-->
123115

124-
- **parentRef.resource** (string)
116+
- **parentRef.group** (string)
125117

126-
resource 是被引用的对象的资源
118+
group 是被引用的对象的组
127119

128-
- **parentRef.uid** (string)
120+
- **parentRef.namespace** (string)
129121

130-
uid 是被引用的对象的唯一标识符(uid)
122+
namespace 是被引用的对象的名字空间
131123

132124
## IPAddressList {#IPAddressList}
133125

@@ -138,7 +130,7 @@ IPAddressList 包含 IPAddress 的列表。
138130

139131
<hr>
140132

141-
- **apiVersion**: networking.k8s.io/v1alpha1
133+
- **apiVersion**: networking.k8s.io/v1beta1
142134

143135
- **kind**: IPAddressList
144136

@@ -147,7 +139,7 @@ IPAddressList 包含 IPAddress 的列表。
147139
148140
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
149141
150-
- **items** ([]<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>), required
142+
- **items** ([]<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>), required
151143
152144
items is the list of IPAddresses.
153145
-->
@@ -156,7 +148,7 @@ IPAddressList 包含 IPAddress 的列表。
156148
标准的对象元数据。更多信息:
157149
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
158150

159-
- **items** ([]<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>),必需
151+
- **items** ([]<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>),必需
160152

161153
items 是 IPAddresses 的列表。
162154

@@ -175,7 +167,7 @@ IPAddressList 包含 IPAddress 的列表。
175167

176168
#### HTTP 请求
177169

178-
GET /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
170+
GET /apis/networking.k8s.io/v1beta1/ipaddresses/{name}
179171

180172
<!--
181173
#### Parameters
@@ -201,7 +193,7 @@ GET /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
201193
-->
202194
#### 响应
203195

204-
200 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): OK
196+
200 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): OK
205197

206198
401: Unauthorized
207199

@@ -214,7 +206,7 @@ GET /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
214206

215207
#### HTTP 请求
216208

217-
GET /apis/networking.k8s.io/v1alpha1/ipaddresses
209+
GET /apis/networking.k8s.io/v1beta1/ipaddresses
218210

219211
<!--
220212
#### Parameters
@@ -281,7 +273,7 @@ GET /apis/networking.k8s.io/v1alpha1/ipaddresses
281273
-->
282274
#### 响应
283275

284-
200 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddressList" >}}">IPAddressList</a>): OK
276+
200 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddressList" >}}">IPAddressList</a>): OK
285277

286278
401: Unauthorized
287279

@@ -294,19 +286,19 @@ GET /apis/networking.k8s.io/v1alpha1/ipaddresses
294286

295287
#### HTTP 请求
296288

297-
POST /apis/networking.k8s.io/v1alpha1/ipaddresses
289+
POST /apis/networking.k8s.io/v1beta1/ipaddresses
298290

299291
<!--
300292
#### Parameters
301-
- **body**: <a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>, required
293+
- **body**: <a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>, required
302294
- **dryRun** (*in query*): string
303295
- **fieldManager** (*in query*): string
304296
- **fieldValidation** (*in query*): string
305297
- **pretty** (*in query*): string
306298
-->
307299
#### 参数
308300

309-
- **body**: <a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>,必需
301+
- **body**: <a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>,必需
310302

311303
- **dryRun****查询参数**):string
312304

@@ -329,11 +321,11 @@ POST /apis/networking.k8s.io/v1alpha1/ipaddresses
329321
-->
330322
#### 响应
331323

332-
200 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): OK
324+
200 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): OK
333325

334-
201 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): Created
326+
201 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): Created
335327

336-
202 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): Accepted
328+
202 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): Accepted
337329

338330
401: Unauthorized
339331

@@ -346,7 +338,7 @@ POST /apis/networking.k8s.io/v1alpha1/ipaddresses
346338

347339
#### HTTP 请求
348340

349-
PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
341+
PUT /apis/networking.k8s.io/v1beta1/ipaddresses/{name}
350342

351343
<!--
352344
#### Parameters
@@ -355,7 +347,7 @@ PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
355347
356348
name of the IPAddress
357349
358-
- **body**: <a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>, required
350+
- **body**: <a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>, required
359351
360352
- **dryRun** (*in query*): string
361353
@@ -371,7 +363,7 @@ PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
371363

372364
IPAddress 的名称。
373365

374-
- **body**: <a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>,必需
366+
- **body**: <a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>,必需
375367

376368
- **dryRun****查询参数**):string
377369

@@ -394,9 +386,9 @@ PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
394386
-->
395387
#### 响应
396388

397-
200 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): OK
389+
200 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): OK
398390

399-
201 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): Created
391+
201 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): Created
400392

401393
401: Unauthorized
402394

@@ -409,7 +401,7 @@ PUT /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
409401

410402
#### HTTP 请求
411403

412-
PATCH /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
404+
PATCH /apis/networking.k8s.io/v1beta1/ipaddresses/{name}
413405

414406
<!--
415407
#### Parameters
@@ -463,9 +455,9 @@ PATCH /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
463455
-->
464456
#### 响应
465457

466-
200 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): OK
458+
200 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): OK
467459

468-
201 (<a href="{{< ref "../policy-resources/ip-address-v1alpha1#IPAddress" >}}">IPAddress</a>): Created
460+
201 (<a href="{{< ref "../cluster-resources/ip-address-v1beta1#IPAddress" >}}">IPAddress</a>): Created
469461

470462
401: Unauthorized
471463

@@ -478,7 +470,7 @@ PATCH /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
478470

479471
#### HTTP 请求
480472

481-
DELETE /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
473+
DELETE /apis/networking.k8s.io/v1beta1/ipaddresses/{name}
482474

483475
<!--
484476
#### Parameters
@@ -541,7 +533,7 @@ DELETE /apis/networking.k8s.io/v1alpha1/ipaddresses/{name}
541533

542534
#### HTTP 请求
543535

544-
DELETE /apis/networking.k8s.io/v1alpha1/ipaddresses
536+
DELETE /apis/networking.k8s.io/v1beta1/ipaddresses
545537

546538
<!--
547539
#### Parameters

0 commit comments

Comments
 (0)