Update kubectl-overview.md (#4894)

* Update kubectl-overview.md

Fix leading spaces in commands.

* fix block shell
This commit is contained in:
Stewart-YU 2017-08-18 02:40:08 +08:00 committed by Andrew Chen
parent f9d6dfdc11
commit b3513842ba
1 changed files with 1 additions and 2 deletions

View File

@ -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: