Update update-api-object-kubectl-patch.md (#15923)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6bab81258c
commit
cd62dbf71f
@@ -311,7 +311,7 @@ The following commands are equivalent:
|
||||
|
||||
|
||||
```shell
|
||||
kubectl patch deployment patch-demo --patch "$(cat patch-file.yaml)"
|
||||
kubectl patch deployment patch-demo --patch "$(cat patch-file.json)"
|
||||
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 "$(cat patch-file.json)"
|
||||
|
||||
Reference in New Issue
Block a user