fix: tail the correct container in the ingress-nginx pod

This commit is contained in:
Jose Diaz-Gonzalez
2024-10-21 20:37:03 -04:00
parent ec5480f330
commit 526ea43ae4

View File

@@ -884,7 +884,7 @@ func TriggerSchedulerProxyLogs(scheduler string, appName string, proxyType strin
return clientset.ExecCommand(context.Background(), ExecCommandInput{
Command: command,
ContainerName: "ingress-nginx",
ContainerName: "controller",
Name: pods[0].Name,
Namespace: "ingress-nginx",
})