From 560c5574993e247532bee199ce719c2f55755863 Mon Sep 17 00:00:00 2001 From: AdoHe Date: Tue, 3 May 2016 23:04:41 -0400 Subject: [PATCH] update manage deployment kubectl apply part --- docs/user-guide/managing-deployments.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user-guide/managing-deployments.md b/docs/user-guide/managing-deployments.md index 17d6b02d97..611d56ed86 100644 --- a/docs/user-guide/managing-deployments.md +++ b/docs/user-guide/managing-deployments.md @@ -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`: