From b3513842ba9ef418ddb64209a4cecde377a7077c Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Fri, 18 Aug 2017 02:40:08 +0800 Subject: [PATCH] Update kubectl-overview.md (#4894) * Update kubectl-overview.md Fix leading spaces in commands. * fix block shell --- docs/user-guide/kubectl-overview.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/user-guide/kubectl-overview.md b/docs/user-guide/kubectl-overview.md index ccfbd5662d..03aa085a6f 100644 --- a/docs/user-guide/kubectl-overview.md +++ b/docs/user-guide/kubectl-overview.md @@ -19,11 +19,10 @@ where `command`, `TYPE`, `NAME`, and `flags` are: * `command`: Specifies the operation that you want to perform on one or more resources, for example `create`, `get`, `describe`, `delete`. * `TYPE`: Specifies the [resource type](#resource-types). Resource types are case-sensitive and you can specify the singular, plural, or abbreviated forms. For example, the following commands produce the same output: - ```shell $ kubectl get pod pod1 $ kubectl get pods pod1 $ kubectl get po pod1 - ``` + * `NAME`: Specifies the name of the resource. Names are case-sensitive. If the name is omitted, details for all resources are displayed, for example `$ kubectl get pods`. When performing an operation on multiple resources, you can specify each resource by type and name or specify one or more files: