Skip to content

Commit

Permalink
Change code block type to bash from console
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 12, 2018
1 parent f24c3a3 commit 9a6089d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions content/en/docs/reference/kubectl/cheatsheet.md
Expand Up @@ -263,21 +263,13 @@ kubectl taint nodes foo dedicated=special-user:NoSchedule

List all supported resource types along with their shortnames, [API group](/docs/concepts/overview/kubernetes-api/#api-groups), whether they are [namespaced](/docs/concepts/overview/working-with-objects/namespaces), and [Kind](/docs/concepts/overview/working-with-objects/kubernetes-objects):

```console
$ kubectl api-resources
```

### Resource types

List all supported resource types along with their shortnames, [API group](/docs/concepts/overview/kubernetes-api/#api-groups), whether they are [namespaced](/docs/concepts/overview/working-with-objects/namespaces), and [Kind](/docs/concepts/overview/working-with-objects/kubernetes-objects):

```console
```bash
kubectl api-resources
```

Other operations for exploring API resources:

```console
```bash
kubectl api-resources --namespaced=true # All namespaced resources
kubectl api-resources --namespaced=false # All non-namespaced resources
kubectl api-resources -o name # All resources with simple output (just the resource name)
Expand Down

0 comments on commit 9a6089d

Please sign in to comment.