fix: tail the correct container in the ingress-nginx pod
This commit is contained in:
1 file changed
+1
-1
@@ -884,7 +884,7 @@ func TriggerSchedulerProxyLogs(scheduler string, appName string, proxyType strin
|
|||||||
|
|
||||||
return clientset.ExecCommand(context.Background(), ExecCommandInput{
|
return clientset.ExecCommand(context.Background(), ExecCommandInput{
|
||||||
Command: command,
|
Command: command,
|
||||||
ContainerName: "ingress-nginx",
|
ContainerName: "controller",
|
||||||
Name: pods[0].Name,
|
Name: pods[0].Name,
|
||||||
Namespace: "ingress-nginx",
|
Namespace: "ingress-nginx",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user