Merge pull request #10707 from kargakis/logs-with-resource-builder

logs: Use resource builder
This commit is contained in:
Wojciech Tyczynski
2015-11-09 16:40:10 +01:00
10 changed files with 257 additions and 137 deletions

View File

@@ -66,7 +66,7 @@ $ kubectl logs --since=1h nginx
### Options
```
-c, --container="": Container name
-c, --container="": Print the logs of this container
-f, --follow[=false]: Specify if the logs should be streamed.
--limit-bytes=0: Maximum bytes of logs to return. Defaults to no limit.
-p, --previous[=false]: If true, print the logs for the previous instance of the container in a pod if it exists.
@@ -108,7 +108,7 @@ $ kubectl logs --since=1h nginx
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra on 14-Oct-2015
###### Auto generated by spf13/cobra on 28-Oct-2015
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_logs.md?pixel)]()