App pod logs with linkerd | unable to view #9021
-
I was able to view the app container logs using kubectl -f logs and was able to login to the container using "k exec --stdin --tty -- /bin/bash" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've answered a similar question in #9001: #9001 (comment) You will want to specify your container by name when interacting with a pod through I'd suggest reading through |
Beta Was this translation helpful? Give feedback.
I've answered a similar question in #9001: #9001 (comment)
You will want to specify your container by name when interacting with a pod through
kubectl
. Assuming your pod has two containers:linkerd-proxy
andapp
, you'd want to dokubectl logs -f <pod> -c app
orkubectl logs -f <pod> --all-containers=true
if you want the logs for all containers.I'd suggest reading through
kubectl logs --help
for more info.