kubectl logs command doesn't show logs from all the pods when using label selector #1713
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/needs-information
Indicates an issue needs more information in order to work on it.
What happened: I'm using kubectl logs command to get the logs of multiple pods of same application using labels. However, it doesn't give logs from all the pods.
What you expected to happen: I should be able to use the -f/--follow option to get the logs from all the pods and use grep/awk with it.
How to reproduce it (as minimally and precisely as possible):
Running multiple replicas of a deployment, try to get the logs using label selector.Anything else we need to know?: NA
Environment:
kubectl version
): v1.29.0cat /etc/os-release
):The text was updated successfully, but these errors were encountered: