Skip to content

Commit 9cc8aaa

Browse files
authored
Merge pull request #38365 from my-git9/zhsyn/ingress-v1
[zh-cn]sync kubernetes-api/service-resources/ingress-v1.md
2 parents 9e63bea + 8f70bda commit 9cc8aaa

File tree

1 file changed

+31
-28
lines changed
  • content/zh-cn/docs/reference/kubernetes-api/service-resources

1 file changed

+31
-28
lines changed

content/zh-cn/docs/reference/kubernetes-api/service-resources/ingress-v1.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,7 @@ IngressSpec 描述用户希望存在的 Ingress。
204204
- **rules.http.paths.pathType** (string),必需
205205

206206
<!--
207-
PathType determines the interpretation of the Path matching. PathType can be one of the following values:
208-
209-
* Exact: Matches the URL path exactly.
210-
211-
* Prefix: Matches based on a URL path prefix split by '/'. Matching is
207+
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
212208
done on a path element by element basis. A path element refers is the
213209
list of labels in the path split by the '/' separator. A request is a
214210
match for path p if every p is an element-wise prefix of p of the
@@ -384,61 +380,68 @@ IngressStatus 描述 Ingress 的当前状态。
384380

385381
<hr>
386382

387-
- **loadBalancer** (LoadBalancerStatus)
383+
- **loadBalancer** (IngressLoadBalancerStatus)
388384

389385
<!--
390386
LoadBalancer contains the current status of the load-balancer.
391387
392-
<a name="LoadBalancerStatus"></a>
393-
*LoadBalancerStatus represents the status of a load-balancer.*
388+
<a name="IngressLoadBalancerStatus"></a>
389+
*IngressLoadBalancerStatus represents the status of a load-balancer.*
394390
-->
395391

396392
loadBalancer 包含负载均衡器的当前状态。
397393

398-
<a name="LoadBalancerStatus"></a>
399-
**LoadBalancerStatus 表示负载均衡器的状态。**
394+
<a name="IngressLoadBalancerStatus"></a>
395+
**IngressLoadBalancerStatus 表示负载均衡器的状态。**
400396

401-
- **loadBalancer.ingress** ([]LoadBalancerIngress)
397+
- **loadBalancer.ingress** ([]IngressLoadBalancerIngress)
402398

403399
<!--
404-
Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.
400+
Ingress is a list containing ingress points for the load-balancer.
405401
406-
<a name="LoadBalancerIngress"></a>
407-
*LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.*
402+
<a name="IngressLoadBalancerIngress"></a>
403+
*IngressLoadBalancerIngress represents the status of a load-balancer ingress point.*
408404
-->
409405

410-
ingress 是一个包含负载均衡器入口点的列表。用于服务的流量应发送到这些入口点。
406+
ingress 是一个包含负载均衡器入口点的列表。
411407

412-
<a name="LoadBalancerIngress"></a>
413-
**LoadBalancerIngress 表示负载均衡器入口点的状态:用于服务的流量应发送到入口点**
408+
<a name="IngressLoadBalancerIngress"></a>
409+
**IngressLoadBalancerIngress 表示负载均衡器入口点的状态。**
414410

415411
- **loadBalancer.ingress.hostname** (string)
416412

417413
<!--
418-
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)
414+
Hostname is set for load-balancer ingress points that are DNS based.
419415
-->
420416

421-
hostname 是为基于 DNS 的负载平衡器(通常为 AWS 负载平衡器)入口点所设置的主机名
417+
hostname 是为基于 DNS 的负载平衡器入口点所设置的主机名
422418

423419
- **loadBalancer.ingress.ip** (string)
424420

425421
<!--
426-
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)
422+
IP is set for load-balancer ingress points that are IP based.
427423
-->
428424

429-
ip 是为基于 IP 的负载平衡器(通常为 GCE 或 OpenStack 负载平衡器)入口点设置的 IP。
425+
ip 是为基于 IP 的负载平衡器入口点设置的 IP。
430426

431-
- **loadBalancer.ingress.ports** ([]PortStatus)
427+
- **loadBalancer.ingress.ports** ([]IngressPortStatus)
432428

433429
<!--
434430
*Atomic: will be replaced during a merge*
435431
436432
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it
433+
Ports provides information about the ports exposed by this LoadBalancer.
434+
435+
<a name="IngressPortStatus"></a>
436+
*IngressPortStatus represents the error condition of a service port*
437437
-->
438438

439439
**Atomic: 将在合并期间被替换**
440-
441-
ports 是服务端口的记录列表。如果使用了此字段,服务中定义的每个端口中都应该有一个条目与之对应。
440+
441+
ports 提供有关此 LoadBalancer 公开端口的信息。
442+
443+
<a name="IngressPortStatus"></a>
444+
**IngressPortStatus 表示服务端口的错误情况**
442445

443446
<!--
444447
- **loadBalancer.ingress.ports.port** (int32), required
@@ -447,10 +450,10 @@ IngressStatus 描述 Ingress 的当前状态。
447450
- **loadBalancer.ingress.ports.port** (int32),必需
448451

449452
<!--
450-
Port is the port number of the service port of which status is recorded here
453+
Port is the port number of the ingress port.
451454
-->
452455

453-
port 在此是所记录状态对应的服务端口的端口号。
456+
port 是入栈端口的端口号
454457

455458
<!--
456459
- **loadBalancer.ingress.ports.protocol** (string), required
@@ -459,10 +462,10 @@ IngressStatus 描述 Ingress 的当前状态。
459462
- **loadBalancer.ingress.ports.protocol** (string),必需
460463

461464
<!--
462-
Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
465+
Protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
463466
-->
464467

465-
protocol 是服务端口的协议,其状态记录在此。支持的值为:“TCP”、“UDP”、“SCTP”。
468+
protocol 是入栈端口的协议。支持的值为:“TCP”、“UDP”、“SCTP”。
466469

467470
- **loadBalancer.ingress.ports.error** (string)
468471

0 commit comments

Comments
 (0)