We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136925c commit dcc2568Copy full SHA for dcc2568
internal/k8s/logs.go
@@ -7,7 +7,7 @@ import (
7
)
8
9
func Logs(namespace, podName, containerName string) (string, error) {
10
- cmd := exec.Command("kubectl", "logs", "-n", namespace, podName, "-c", containerName)
+ cmd := exec.Command("kubectl", "logs", "-n", namespace, podName, "-c", containerName, "--timestamps=true")
11
var out bytes.Buffer
12
var stderr bytes.Buffer
13
cmd.Stdout = &out
0 commit comments