mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Merge pull request #7973 from dchen1107/podstatus
Add kubectl log --previous support to view last terminated container log
This commit is contained in:
@@ -1332,6 +1332,9 @@ type PodLogOptions struct {
|
||||
|
||||
// If true, follow the logs for the pod
|
||||
Follow bool
|
||||
|
||||
// If true, return previous terminated container logs
|
||||
Previous bool
|
||||
}
|
||||
|
||||
// PodExecOptions is the query options to a Pod's remote exec call
|
||||
|
||||
Reference in New Issue
Block a user