Fix extra double quotation mark
Signed-off-by: Lan Luo <luolanzone@gmail.com>
This commit is contained in:
parent
df12f23ec4
commit
a4196f77f5
|
@ -613,10 +613,10 @@ The following commands are equivalent:
|
||||||
以下命令是等价的:
|
以下命令是等价的:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl patch deployment patch-demo --patch-file patch-file.yaml"
|
kubectl patch deployment patch-demo --patch-file patch-file.yaml
|
||||||
kubectl patch deployment patch-demo --patch 'spec:\n template:\n spec:\n containers:\n - name: patch-demo-ctr-2\n image: redis'
|
kubectl patch deployment patch-demo --patch 'spec:\n template:\n spec:\n containers:\n - name: patch-demo-ctr-2\n image: redis'
|
||||||
|
|
||||||
kubectl patch deployment patch-demo --patch-file patch-file.json"
|
kubectl patch deployment patch-demo --patch-file patch-file.json
|
||||||
kubectl patch deployment patch-demo --patch '{"spec": {"template": {"spec": {"containers": [{"name": "patch-demo-ctr-2","image": "redis"}]}}}}'
|
kubectl patch deployment patch-demo --patch '{"spec": {"template": {"spec": {"containers": [{"name": "patch-demo-ctr-2","image": "redis"}]}}}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue