Skip to content

Commit 7603e23

Browse files
authored
Merge pull request #49568 from babugeet/babugeet-ft1
Fixed command for kubectl patch statefulset
2 parents 553a3cb + 7f4ece6 commit 7603e23

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)