Skip to content

Commit 7f4ece6

Browse files
committed
Fixed command for kubectl patch statefulset
Signed-off-by: babugeet <[email protected]>
1 parent d806c5a commit 7f4ece6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ You select this update strategy for a StatefulSet by setting the
908908
Patch the `web` StatefulSet to use the `OnDelete` update strategy:
909909

910910
```shell
911-
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete"}}}'
911+
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete", "rollingUpdate": null}}}'
912912
```
913913
```
914914
statefulset.apps/web patched

0 commit comments

Comments
 (0)