From 5ac9411865713f0585c22c0661c0a750dab98d11 Mon Sep 17 00:00:00 2001 From: DanteMustCode <52395211+DanteMustCode@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:09:36 +0800 Subject: [PATCH 1/2] fix markdown format as shell --- .../tutorials/stateful-application/basic-stateful-set.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tutorials/stateful-application/basic-stateful-set.md b/content/en/docs/tutorials/stateful-application/basic-stateful-set.md index c78ac76fff..2f33cd7661 100644 --- a/content/en/docs/tutorials/stateful-application/basic-stateful-set.md +++ b/content/en/docs/tutorials/stateful-application/basic-stateful-set.md @@ -254,8 +254,8 @@ web-0 web-1 ``` then, run: -``` -kubectl run -i --tty --image busybox:1.28 dns-test --restart=Never --rm /bin/sh +```shell +kubectl run -i --tty --image busybox:1.28 dns-test --restart=Never --rm ``` which starts a new shell. In that new shell, run: @@ -1257,4 +1257,4 @@ You also need to delete the persistent storage media for the PersistentVolumes used in this tutorial. Follow the necessary steps, based on your environment, storage configuration, and provisioning method, to ensure that all storage is reclaimed. -{{< /note >}} \ No newline at end of file +{{< /note >}} From 992809e22ee380d21795f6381489ca530c5ddc2c Mon Sep 17 00:00:00 2001 From: DanteMustCode <52395211+DanteMustCode@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:16:56 +0800 Subject: [PATCH 2/2] remove automatic newline --- .../docs/tutorials/stateful-application/basic-stateful-set.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tutorials/stateful-application/basic-stateful-set.md b/content/en/docs/tutorials/stateful-application/basic-stateful-set.md index 2f33cd7661..42cebcaf0d 100644 --- a/content/en/docs/tutorials/stateful-application/basic-stateful-set.md +++ b/content/en/docs/tutorials/stateful-application/basic-stateful-set.md @@ -1257,4 +1257,4 @@ You also need to delete the persistent storage media for the PersistentVolumes used in this tutorial. Follow the necessary steps, based on your environment, storage configuration, and provisioning method, to ensure that all storage is reclaimed. -{{< /note >}} +{{< /note >}} \ No newline at end of file