From cfaa556025b11c4be912b45ae7fe5e8f56a6b6a8 Mon Sep 17 00:00:00 2001 From: supereagle Date: Wed, 26 Apr 2017 13:49:14 +0800 Subject: [PATCH] update kubectl apply doc for required resource name --- docs/user-guide/kubectl/v1.5/index.html | 2 +- docs/user-guide/kubectl/v1.6/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/kubectl/v1.5/index.html b/docs/user-guide/kubectl/v1.5/index.html index eef2e9aa88..959d332df6 100644 --- a/docs/user-guide/kubectl/v1.5/index.html +++ b/docs/user-guide/kubectl/v1.5/index.html @@ -3926,7 +3926,7 @@ viewing your workloads in a Kubernetes cluster.

kubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/ConfigMap
 
-

Apply a configuration to a resource by filename or stdin. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.

+

Apply a configuration to a resource by filename or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.

JSON and YAML formats are accepted.

Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.

Usage

diff --git a/docs/user-guide/kubectl/v1.6/index.html b/docs/user-guide/kubectl/v1.6/index.html index 03fdc61892..067c8d8942 100644 --- a/docs/user-guide/kubectl/v1.6/index.html +++ b/docs/user-guide/kubectl/v1.6/index.html @@ -4930,7 +4930,7 @@ viewing your workloads in a Kubernetes cluster.

kubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/ConfigMap
 
-

Apply a configuration to a resource by filename or stdin. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.

+

Apply a configuration to a resource by filename or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'.

JSON and YAML formats are accepted.

Alpha Disclaimer: the --prune functionality is not yet complete. Do not use unless you are aware of what the current state is. See https://issues.k8s.io/34274.

Usage