diff --git a/content/en/docs/project-user-guide/grayscale-release/blue-green-deployment.md b/content/en/docs/project-user-guide/grayscale-release/blue-green-deployment.md index 335dfa2bc..c053d42af 100644 --- a/content/en/docs/project-user-guide/grayscale-release/blue-green-deployment.md +++ b/content/en/docs/project-user-guide/grayscale-release/blue-green-deployment.md @@ -20,15 +20,15 @@ The blue-green release provides a zero downtime deployment, which means the new ## Create a Blue-green Deployment Job -1. Log in to KubeSphere as `project-regular` and navigate to **Grayscale Release**. Under **Categories**, click **Create Job** on the right of **Blue-green Deployment**. +1. Log in to KubeSphere as `project-regular` and go to **Grayscale Release**. Under **Categories**, click **Create Job** on the right of **Blue-green Deployment**. 2. Set a name for it and click **Next**. 3. On the **Grayscale Release Components** tab, select your app from the drop-down list and the Service for which you want to implement the blue-green deployment. If you also use the sample app Bookinfo, select **reviews** and click **Next**. -4. On the **Grayscale Release Version** tab, add another version (e.g `v2`) as shown in the image below and click **Next**: +4. On the **Grayscale Release Version** tab, add another version (e.g `v2`) as shown in the following figure and click **Next**: - ![blue-green-4](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.jpg) + ![blue-green-4](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.png) {{< notice note >}} @@ -38,19 +38,19 @@ The blue-green release provides a zero downtime deployment, which means the new 5. On the **Policy Config** tab, to allow the app version `v2` to take over all the traffic, select **Take over all traffic** and click **Create**. -6. The blue-green deployment job created displays under the tab **Job Status**. Click it to view details. +6. The blue-green deployment job created is displayed under the tab **Job Status**. Click it to view details. - ![blue-green-job-list](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.jpg) + ![blue-green-job-list](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.png) 7. Wait for a while and you can see all the traffic go to the version `v2`: - ![blue-green-6](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.jpg) + ![blue-green-6](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.png) 8. The new **Deployment** is created as well. - ![version2-deployment](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.jpg) + ![version2-deployment](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.png) -9. You can directly get the virtual service to identify the weight by executing the following command: +9. You can get the virtual service to identify the weight by running the following command: ```bash kubectl -n demo-project get virtualservice -o yaml @@ -58,8 +58,8 @@ The blue-green release provides a zero downtime deployment, which means the new {{< 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`. {{}} @@ -85,5 +85,5 @@ The blue-green release provides a zero downtime deployment, which means the new After you implement the blue-green deployment, and the result meets your expectation, you can take the task offline with the version `v1` removed by clicking **Job offline**. -![blue-green-7](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.jpg) +![blue-green-7](/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.png) diff --git a/content/zh/docs/project-user-guide/grayscale-release/blue-green-deployment.md b/content/zh/docs/project-user-guide/grayscale-release/blue-green-deployment.md index 5372445df..45dd45e47 100644 --- a/content/zh/docs/project-user-guide/grayscale-release/blue-green-deployment.md +++ b/content/zh/docs/project-user-guide/grayscale-release/blue-green-deployment.md @@ -21,7 +21,7 @@ weight: 10520 ## 创建蓝绿部署任务 -1. 以 `project-regular` 身份登录 KubeSphere,转到**灰度发布**页面,在**灰度策略**选项卡下,点击**蓝绿部署**右侧的**发布任务**。 +1. 以 `project-regular` 身份登录 KubeSphere,前往**灰度发布**页面,在**灰度策略**选项卡下,点击**蓝绿部署**右侧的**发布任务**。 2. 输入名称然后点击**下一步**。 diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.jpg b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.jpg deleted file mode 100644 index 55392cf74..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.png b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.png new file mode 100644 index 000000000..ec252549d Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-4.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.jpg b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.jpg deleted file mode 100644 index 3fc081515..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.png b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.png new file mode 100644 index 000000000..5889a2f61 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-6.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.jpg b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.jpg deleted file mode 100644 index cb26ded6b..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.png b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.png new file mode 100644 index 000000000..03b1b8e88 Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-7.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.jpg b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.jpg deleted file mode 100644 index a5fe09b2a..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.png b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.png new file mode 100644 index 000000000..70e2df48e Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/blue-green-job-list.png differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.jpg b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.jpg deleted file mode 100644 index 140d05dd4..000000000 Binary files a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.jpg and /dev/null differ diff --git a/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.png b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.png new file mode 100644 index 000000000..8a061ee3b Binary files /dev/null and b/static/images/docs/project-user-guide/grayscale-release/blue-green-deployment/version2-deployment.png differ