SyntaxFix
Write A Post
Hire A Developer
Questions
In this example, you can replace the <namespace> and <app-name> to get the logs when there are multiple Containers defined in a Pod.
<namespace>
<app-name>
kubectl -n <namespace> logs -f deployment/<app-name> \ --all-containers=true --since=10m