Skip to content

App pod logs with linkerd | unable to view #9021

Answered by mateiidavid
Chakki1301 asked this question in Q&A
Discussion options

You must be logged in to vote

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 and app, you'd want to do kubectl logs -f <pod> -c app or kubectl 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adleong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants