diff --git a/content/en/docs/project-user-guide/grayscale-release/traffic-mirroring.md b/content/en/docs/project-user-guide/grayscale-release/traffic-mirroring.md index 9da3c73f5..61f341e94 100644 --- a/content/en/docs/project-user-guide/grayscale-release/traffic-mirroring.md +++ b/content/en/docs/project-user-guide/grayscale-release/traffic-mirroring.md @@ -16,7 +16,7 @@ Traffic mirroring, also called shadowing, is a powerful, risk-free method of tes ## Create a Traffic Mirroring Job -1. Log in to KubeSphere as `project-regular` and navigate to **Grayscale Release**. Under **Categories**, click **Create Job** on the right of **Traffic Mirroring**. +1. Log in to KubeSphere as `project-regular` and go to **Grayscale Release**. Under **Categories**, click **Create Job** on the right of **Traffic Mirroring**. 2. Set a name for it and click **Next**. @@ -24,7 +24,7 @@ Traffic mirroring, also called shadowing, is a powerful, risk-free method of tes 4. On the **Grayscale Release Version** tab, add another version of it (for example, `v2`) as shown in the image below and click **Next**: - ![traffic-mirroring-4](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.jpg) + ![traffic-mirroring-4](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.png) {{< notice note >}} @@ -34,19 +34,19 @@ Traffic mirroring, also called shadowing, is a powerful, risk-free method of tes 5. On the **Policy Config** tab, click **Create**. -6. The traffic mirroring job created displays under the tab **Job Status**. Click it to view details. +6. The traffic mirroring job created is displayed under the tab **Job Status**. Click it to view details. - ![traffic-mirroing-task](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.jpg) + ![traffic-mirroing-task](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.png) -7. You can see the traffic is being mirrored to `v2` with real-time traffic displaying in the line chart. +7. You can see the traffic is being mirrored to `v2` with real-time traffic displayed in the line chart. - ![traffic-mirroring-6](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.jpg) + ![traffic-mirroring-6](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.png) 8. The new **Deployment** is created as well. - ![new-deployment](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.jpg) + ![new-deployment](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.png) -9. You can directly get the virtual service to view `mirror` and `weight` by executing the following command: +9. You can get the virtual service to view `mirror` and `weight` by running the following command: ```bash kubectl -n demo-project get virtualservice -o yaml @@ -54,8 +54,8 @@ Traffic mirroring, also called shadowing, is a powerful, risk-free method of tes {{< notice note >}} - - When you execute the command above, replace `demo-project` with your own project (i.e. namespace) name. - - If you want to execute the command from the web kubectl on the KubeSphere console, you need to use the account `admin`. + - When you run the command above, replace `demo-project` with your own project (namely, namespace) name. + - If you want to run the command from the web kubectl on the KubeSphere console, you need to use the account `admin`. {{}} @@ -82,7 +82,7 @@ Traffic mirroring, also called shadowing, is a powerful, risk-free method of tes ... ``` - This route rule sends 100% of the traffic to `v1`. The last stanza specifies that you want to mirror to the service `reviews v2`. When traffic gets mirrored, the requests are sent to the mirrored service with their Host/Authority headers appended with `-shadow`. For example, `cluster-1` becomes `cluster-1-shadow`. + This route rule sends 100% of the traffic to `v1`. The `mirror` field specifies that you want to mirror to the service `reviews v2`. When traffic gets mirrored, the requests are sent to the mirrored service with their Host/Authority headers appended with `-shadow`. For example, `cluster-1` becomes `cluster-1-shadow`. {{< notice note >}} @@ -94,4 +94,4 @@ These requests are mirrored as “fire and forget”, which means that the respo You can remove the traffic mirroring job by clicking **Job offline**, which does not affect the current app version. -![remove-traffic-mirroring](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.jpg) \ No newline at end of file +![remove-traffic-mirroring](/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.png) \ No newline at end of file diff --git a/content/zh/docs/project-user-guide/grayscale-release/traffic-mirroring.md b/content/zh/docs/project-user-guide/grayscale-release/traffic-mirroring.md index 47b006c8a..bb48c8f67 100644 --- a/content/zh/docs/project-user-guide/grayscale-release/traffic-mirroring.md +++ b/content/zh/docs/project-user-guide/grayscale-release/traffic-mirroring.md @@ -16,7 +16,7 @@ weight: 10540 ## 创建流量镜像任务 -1. 以 `project-regular` 用户登录 KubeSphere 并进入项目。转到**灰度发布**页面,在页面右侧点击**流量镜像**右侧的**发布任务**。 +1. 以 `project-regular` 用户登录 KubeSphere 并进入项目。前往**灰度发布**页面,在页面右侧点击**流量镜像**右侧的**发布任务**。 2. 设置发布任务的名称并点击**下一步**。 diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.jpg b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.jpg deleted file mode 100644 index 09376fc6f..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.png b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.png new file mode 100644 index 000000000..9a501a8f7 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/new-deployment.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.jpg b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.jpg deleted file mode 100644 index ac1b6c77f..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.png b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.png new file mode 100644 index 000000000..10a99ed48 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/remove-traffic-mirroring.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.jpg b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.jpg deleted file mode 100644 index 034046bd5..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.png b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.png new file mode 100644 index 000000000..76c7ec025 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroing-task.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.jpg b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.jpg deleted file mode 100644 index 6cde88a50..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.png b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.png new file mode 100644 index 000000000..fd22ceb01 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-4.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.jpg b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.jpg deleted file mode 100644 index a2707192e..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.png b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.png new file mode 100644 index 000000000..a582859d5 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/traffic-mirroring/traffic-mirroring-6.png differ