Dump from debug collector should have log files seperated in different files rather than one cumulated file
General
Escalation
General
Escalation
Description
pt-k8s-debug collector dumps logs of all container in a single file using kubectl logs --all-containers flag(ref). It would be convenient to have all the container logs in a separate file including init-container logs.
Steps to check 1. Run pt-k8s-debug-collector 2. Extract the tar.gz dump file 3. Check any of the pod and observe that logs.txt is a cumulated file of all the containers 4. For example, run the pt-k8s-debug-collector on a k8s cluster where pxc cluster is running and check the folder <DUMP-FOLDER>/cluster-dump/pxc/<pod-name>. There will be a file logs.txt. Ideally this should have list of files which contains log of a single container only.
pt-k8s-debug collector dumps logs of all container in a single file using kubectl logs --all-containers flag(ref). It would be convenient to have all the container logs in a separate file including init-container logs.
Steps to check
1. Run pt-k8s-debug-collector
2. Extract the tar.gz dump file
3. Check any of the pod and observe that logs.txt is a cumulated file of all the containers
4. For example, run the pt-k8s-debug-collector on a k8s cluster where pxc cluster is running and check the folder <DUMP-FOLDER>/cluster-dump/pxc/<pod-name>. There will be a file logs.txt. Ideally this should have list of files which contains log of a single container only.
cc