Merge pull request #463 from AdoHe/master

update manage deployment kubectl apply part
pull/505/head
Janet Kuo 2016-05-12 15:20:18 -07:00
commit 7edbc5f944
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ Currently, resources are created without this annotation, so the first invocatio
All subsequent calls to `kubectl apply`, and other commands that modify the configuration, such as `kubectl replace` and `kubectl edit`, will update the annotation, allowing subsequent calls to `kubectl apply` to detect and perform deletions using a three-way diff.
**Note:** To use apply, always create resource initially with either `kubectl apply` or `kubectl create --save-config`.
### kubectl edit
Alternatively, you may also update resources with `kubectl edit`: