We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bf5be8 + 2586b6a commit 6afd90bCopy full SHA for 6afd90b
content/zh-cn/docs/tutorials/stateful-application/basic-stateful-set.md
@@ -1518,7 +1518,7 @@ Patch the `web` StatefulSet to use the `OnDelete` update strategy:
1518
对 `web` StatefulSet 执行 patch 操作,以使用 `OnDelete` 更新策略:
1519
1520
```shell
1521
-kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete"}}}'
+kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete", "rollingUpdate": null}}}'
1522
```
1523
1524
statefulset.apps/web patched
0 commit comments