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 >}}