Get previous logs from the pods with pt-k8s-debug-collector
General
Escalation
General
Escalation
Description
Environment
None
Activity
Show:
Aaditya Dubey January 1, 2025 at 2:25 PM
Hi
Thank you for the information. Sending the request to engineering for its implementation.
zelmar.michelini January 1, 2025 at 2:08 PM
Hi !
In case a pod restarts, and you want to check the logs of the previous run, what you need to do is to use the --previous
flag:kubectl logs mongodb-rs1-node1 --previous
Aaditya Dubey January 1, 2025 at 1:42 PM
Hi
Thank you for the report and feedback.
Please explain the requirements in detail with example if any.
Details
Details
Assignee
Unassigned
UnassignedReporter
zelmar.michelini
zelmar.micheliniPriority
Components
Needs QA
Yes
Needs Doc
Yes
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created December 27, 2024 at 7:36 PM
Updated January 1, 2025 at 2:25 PM
Would be interesting if we could include getting the previous logs from the pods using the
--previous
flagOn Percona MongoDB Operator, pt-k8s-debug-collector only gets the current logs.