Fix the doc example
This commit is contained in:
@@ -532,7 +532,7 @@ web-2 gcr.io/google_containers/nginx-slim:0.7
|
|||||||
Patch `web` StatefulSet 来执行 `RollingUpdate` 更新策略。
|
Patch `web` StatefulSet 来执行 `RollingUpdate` 更新策略。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"RollingUpdate"}}}
|
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"RollingUpdate"}}}'
|
||||||
statefulset "web" patched
|
statefulset "web" patched
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -545,7 +545,7 @@ reverse ordinal order, while respecting the StatefulSet guarantees.
|
|||||||
Patch the `web` StatefulSet to apply the `RollingUpdate` update strategy.
|
Patch the `web` StatefulSet to apply the `RollingUpdate` update strategy.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"RollingUpdate"}}}
|
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"RollingUpdate"}}}'
|
||||||
statefulset "web" patched
|
statefulset "web" patched
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user