diff --git a/docs/usage/install/cloud/get-started-aws-zh_CN.md b/docs/usage/install/cloud/get-started-aws-zh_CN.md index d6bd954a12..b2d994b33e 100644 --- a/docs/usage/install/cloud/get-started-aws-zh_CN.md +++ b/docs/usage/install/cloud/get-started-aws-zh_CN.md @@ -250,7 +250,9 @@ nginx-lb-64fbbb5fd8-wkzf6 1/1 Running 0 10s 172.31.28.31 m 借助上文我们创建的 [AWS NAT 网关](./get-started-aws-zh_CN.md#AWS环境),我们的 VPC 私网已可实现访问互联网。 -> ~# kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com +``` +kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com +``` #### 负载均衡流量入口访问(可选) diff --git a/docs/usage/install/cloud/get-started-aws.md b/docs/usage/install/cloud/get-started-aws.md index 6d046e4e3e..07c45459ef 100644 --- a/docs/usage/install/cloud/get-started-aws.md +++ b/docs/usage/install/cloud/get-started-aws.md @@ -250,7 +250,9 @@ nginx-lb-64fbbb5fd8-wkzf6 1/1 Running 0 10s 172.31.28.31 m With the [AWS NAT gateway](./get-started-aws.md#aws-environment) created in the previous section, our VPC's private network can now be accessed from the internet. -> ~# kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com +``` +kubectl exec -it nginx-lb-64fbbb5fd8-wkzf6 -- curl -I www.baidu.com +``` #### Load Balancer Ingress Access (Optional) diff --git a/docs/usage/rdma-ib-zh_CN.md b/docs/usage/rdma-ib-zh_CN.md index 018cf01f34..090069a7bb 100644 --- a/docs/usage/rdma-ib-zh_CN.md +++ b/docs/usage/rdma-ib-zh_CN.md @@ -204,35 +204,12 @@ 开启一个终端,进入另一个 Pod 访问服务: - ```shell # 能看到宿主机上的所有 RDMA 网卡 ~# rdma link link mlx5_8/1 subnet_prefix fe80:0000:0000:0000 lid 7 sm_lid 1 lmc 0 state ACTIVE physical_state LINK_UP - - # 访问对方 Pod 的 RDMA 服务 + + # 成功访问对方 Pod 的 RDMA 服务 ~# ib_read_lat 172.91.0.115 - --------------------------------------------------------------------------------------- - RDMA_Read Latency Test - Dual-port : OFF Device : mlx5_8 - Number of qps : 1 Transport type : IB - Connection type : RC Using SRQ : OFF - PCIe relax order: ON - ibv_wr* API : ON - TX depth : 1 - Mtu : 4096[B] - Link type : IB - Outstand reads : 16 - rdma_cm QPs : OFF - Data ex. method : Ethernet - --------------------------------------------------------------------------------------- - local address: LID 0x07 QPN 0x012e PSN 0x7eb74 OUT 0x10 RKey 0x030509 VAddr 0x005560e826f000 - remote address: LID 0x08 QPN 0x00ee PSN 0x7eb74 OUT 0x10 RKey 0x020509 VAddr 0x005560f99dc000 - --------------------------------------------------------------------------------------- - #bytes #iterations t_min[usec] t_max[usec] t_typical[usec] t_avg[usec] t_stdev[usec] 99% percentile[usec] 99.9% percentile[usec] - Conflicting CPU frequency values detected: 1000.085000 != 2200.000000. CPU Frequency is not max. - Conflicting CPU frequency values detected: 1000.383000 != 2200.000000. CPU Frequency is not max. - 2 1000 1.84 12.20 1.90 1.97 0.47 2.24 12.20 - --------------------------------------------------------------------------------------- ## 基于 IPoIB 的常规网卡 diff --git a/docs/usage/rdma-ib.md b/docs/usage/rdma-ib.md index a863002ef4..f9b2c7e178 100644 --- a/docs/usage/rdma-ib.md +++ b/docs/usage/rdma-ib.md @@ -206,30 +206,8 @@ The following steps demonstrate how to use [IB-SRIOV](https://github.com/k8snetw ~# rdma link link mlx5_8/1 subnet_prefix fe80:0000:0000:0000 lid 7 sm_lid 1 lmc 0 state ACTIVE physical_state LINK_UP - # visit the service on the other POD + # succeed to visit the service on the other POD ~# ib_read_lat 172.91.0.115 - --------------------------------------------------------------------------------------- - RDMA_Read Latency Test - Dual-port : OFF Device : mlx5_8 - Number of qps : 1 Transport type : IB - Connection type : RC Using SRQ : OFF - PCIe relax order: ON - ibv_wr* API : ON - TX depth : 1 - Mtu : 4096[B] - Link type : IB - Outstand reads : 16 - rdma_cm QPs : OFF - Data ex. method : Ethernet - --------------------------------------------------------------------------------------- - local address: LID 0x07 QPN 0x012e PSN 0x7eb74 OUT 0x10 RKey 0x030509 VAddr 0x005560e826f000 - remote address: LID 0x08 QPN 0x00ee PSN 0x7eb74 OUT 0x10 RKey 0x020509 VAddr 0x005560f99dc000 - --------------------------------------------------------------------------------------- - #bytes #iterations t_min[usec] t_max[usec] t_typical[usec] t_avg[usec] t_stdev[usec] 99% percentile[usec] 99.9% percentile[usec] - Conflicting CPU frequency values detected: 1000.085000 != 2200.000000. CPU Frequency is not max. - Conflicting CPU frequency values detected: 1000.383000 != 2200.000000. CPU Frequency is not max. - 2 1000 1.84 12.20 1.90 1.97 0.47 2.24 12.20 - --------------------------------------------------------------------------------------- ## IPoIB