Update update-api-object-kubectl-patch.md (#15923)

pull/15941/head
praveen-kg 2019-08-19 12:01:30 +02:00 committed by Kubernetes Prow Robot
parent 6bab81258c
commit cd62dbf71f
1 changed files with 1 additions and 1 deletions

View File

@ -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)"