-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking on container name in details sidecar should add -c to logs command #4498
Comments
New information.... |
myan9
added a commit
to myan9/kui
that referenced
this issue
May 13, 2020
myan9
added a commit
to myan9/kui
that referenced
this issue
May 13, 2020
…ogs command Also delegats oc logs to kubectl Fixes kubernetes-sigs#4498
7 tasks
myan9
added a commit
to myan9/kui
that referenced
this issue
May 13, 2020
…ogs command Also delegates oc logs to kubectl Fixes kubernetes-sigs#4498
starpit
pushed a commit
that referenced
this issue
May 13, 2020
…ogs command Also delegates oc logs to kubectl Fixes #4498
myan9
added a commit
to myan9/kui
that referenced
this issue
May 13, 2020
…ogs command Also delegates oc logs to kubectl Fixes kubernetes-sigs#4498
Closed
starpit
pushed a commit
that referenced
this issue
May 13, 2020
…ogs command Also delegates oc logs to kubectl Fixes #4498
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Clicking on the container name in the details sidecar for a pod runs the
logs
command agaist the pod and container name but does not include the-c
flag in front of the container name. This can fail if the pod contains more than one container. In the case of one container, this is tolerated bykubectl
even thoughkubectl logs --help
calls out use of-c
, but if using the Red Hat OpenShift Container Platform equivalent CLIoc
it will always fail becauseoc
enforces the syntax of putting-c
before the container name.Steps to reproduce the behavior
kubectl get pods -n <someNamespace>
kubectl logs <podName> <containerName> -n <someNamespace>
(no-c
in front of<containerName>
)Expected behavior
The command should always work and will always work if the
-c
flag is always included before the container name as specified in the help documentation.System
The text was updated successfully, but these errors were encountered: