mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +00:00
Prompt the user to select a container if they don't provide one
and we can't infer it.
This commit is contained in:
@@ -24,6 +24,7 @@ $ kubectl log -f 123456-7890 ruby-container
|
||||
|
||||
```
|
||||
-f, --follow=false: Specify if the logs should be streamed.
|
||||
--interactive=true: If true, prompt the user for input when required. Default true.
|
||||
```
|
||||
|
||||
### Options inherrited from parent commands
|
||||
|
@@ -21,6 +21,10 @@ Print the logs for a container in a pod. If the pod has only one container, the
|
||||
\fB\-f\fP, \fB\-\-follow\fP=false
|
||||
Specify if the logs should be streamed.
|
||||
|
||||
.PP
|
||||
\fB\-\-interactive\fP=true
|
||||
If true, prompt the user for input when required. Default true.
|
||||
|
||||
|
||||
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
||||
.PP
|
||||
|
Reference in New Issue
Block a user