Merge pull request #23524 from whatthefrog/patch-1

Update basic-stateful-set.md
This commit is contained in:
Kubernetes Prow Robot
2020-09-02 20:27:40 -07:00
committed by GitHub
@@ -1039,7 +1039,7 @@ Even though you completely deleted the StatefulSet, and all of its Pods, the
Pods are recreated with their PersistentVolumes mounted, and `web-0` and Pods are recreated with their PersistentVolumes mounted, and `web-0` and
`web-1` continue to serve their hostnames. `web-1` continue to serve their hostnames.
Finally, delete the `web` StatefulSet... Finally, delete the `nginx` Service...
```shell ```shell
kubectl delete service nginx kubectl delete service nginx
@@ -1047,7 +1047,7 @@ kubectl delete service nginx
``` ```
service "nginx" deleted service "nginx" deleted
``` ```
...and the `nginx` Service: ...and the `web` StatefulSet:
```shell ```shell
kubectl delete statefulset web kubectl delete statefulset web
``` ```