mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Fix md generation for kubectl docs
Display usage string, not long help, as code, remove angle brackets from output (.md interprets as tags and hides).
This commit is contained in:
@@ -4,7 +4,7 @@ Display one or many resources
|
||||
|
||||
### Synopsis
|
||||
|
||||
```
|
||||
|
||||
Display one or many resources.
|
||||
|
||||
Possible resources include pods (po), replication controllers (rc), services
|
||||
@@ -12,9 +12,10 @@ Possible resources include pods (po), replication controllers (rc), services
|
||||
|
||||
By specifying the output as 'template' and providing a Go template as the value
|
||||
of the --template flag, you can filter the attributes of the fetched resource(s).
|
||||
```
|
||||
|
||||
kubectl get [(-o|--output=)json|yaml|template|...] <resource> [<id>]
|
||||
```
|
||||
kubectl get [(-o|--output=)json|yaml|template|...] RESOURCE [ID]
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
|
Reference in New Issue
Block a user