You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/kubernetes-api/cluster-resources/service-cidr-v1.md
+41-24Lines changed: 41 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@ api_metadata:
4
4
import: "k8s.io/api/networking/v1"
5
5
kind: "ServiceCIDR"
6
6
content_type: "api_reference"
7
-
description: "ServiceCIDR 使用 CIDR 格式定义 IP 地址的范围"
7
+
description: "ServiceCIDR 使用 CIDR 格式定义 IP 地址的范围(例如:192.168.0.0/24 或 2001:db2::/64)"
8
8
title: "ServiceCIDR"
9
-
weight: 10
9
+
weight: 11
10
10
---
11
11
<!--
12
12
api_metadata:
13
13
apiVersion: "networking.k8s.io/v1"
14
14
import: "k8s.io/api/networking/v1"
15
15
kind: "ServiceCIDR"
16
16
content_type: "api_reference"
17
-
description: "ServiceCIDR defines a range of IP addresses using CIDR format (e."
17
+
description: "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64)."
18
18
title: "ServiceCIDR"
19
-
weight: 10
19
+
weight: 11
20
20
auto_generated: true
21
21
-->
22
22
@@ -29,7 +29,7 @@ auto_generated: true
29
29
<!--
30
30
ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
31
31
-->
32
-
ServiceCIDR 使用 CIDR 格式定义 IP 地址的范围(例如 192.168.0.0/24 或 2001:db2::/64)。
32
+
ServiceCIDR 使用 CIDR 格式定义 IP 地址的范围(例如 "192.168.0.0/24" 或 "2001:db2::/64")。
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
84
84
-->
85
85
-**cidrs** ([]string)
86
86
87
87
**原子:将在合并期间被替换**
88
-
89
-
cidrs 以 CIDR 表示法定义 IP 块(例如 "192.168.0.0/24" 或 "2001:db8::/64"),
90
-
从此 IP 块中为 Service 分配集群 IP。允许最多两个 CIDR,每个 IP 簇一个 CIDR。此字段是不可变更的。
88
+
89
+
`cidrs` 以 CIDR 表示法定义 IP 块(例如 "192.168.0.0/24" 或 "2001:db8::/64"),
90
+
从此 IP 块中为 Service 分配集群 IP。允许最多两个 CIDR,每个 IP 簇一个 CIDR。
0 commit comments