diff --git a/website/docs/user_guides/pause.md b/website/docs/user_guides/pause.md index 04e8ece076..2098489320 100644 --- a/website/docs/user_guides/pause.md +++ b/website/docs/user_guides/pause.md @@ -34,7 +34,7 @@ spec: 1. When the chaos is running, run the following command to get its status: ```shell - $ kubectl get podchaos pod-kill-example --namespace chaos-testing --output yaml \ + kubectl get podchaos pod-kill-example --namespace chaos-testing --output yaml \ && kubectl get pods --namespace chaos-testing ``` @@ -81,9 +81,9 @@ spec: 2. Pause the running chaos: ```shell - $ kubectl annotate podchaos pod-kill-example --namespace chaos-testing experiment.chaos-mesh.org/pause=true + kubectl annotate podchaos pod-kill-example --namespace chaos-testing experiment.chaos-mesh.org/pause=true podchaos.chaos-mesh.org/pod-kill-example annotated - $ kubectl get podchaos pod-kill-example --namespace chaos-testing --output yaml \ + kubectl get podchaos pod-kill-example --namespace chaos-testing --output yaml \ && kubectl get pods --namespace chaos-testing ``` @@ -133,7 +133,7 @@ spec: 3. Resume this chaos: ```shell - $ kubectl annotate podchaos pod-kill-example --namespace chaos-testing experiment.chaos-mesh.org/pause- + kubectl annotate podchaos pod-kill-example --namespace chaos-testing experiment.chaos-mesh.org/pause- podchaos.chaos-mesh.org/pod-kill-example annotated ```