View crashed Pod logs (previous logs) #3225
Labels
dashboard
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
LogsButton
LogsViewer
needs design
Some design work needs to be done on this. Not necessarily by a designer.
When I am troubleshooting a Pod that has crashed or restarted, I want to be able to view the logs from its previous container instance, so I can understand what caused the failure and take corrective action.
With kubectl you can see the logs for a crashed Pod like this:
API:
previous=true
: fetches logs from the previous container instance, which is useful when the container has crashed or restarted.We need to design and agree a UI before implementation:
Additional context
See:
This was one of the most requested features in dashboard: kubernetes/dashboard#1393 https://github.com/kubernetes/dashboard/pull/2392/files and is a commonly used feature of kubectl.
The text was updated successfully, but these errors were encountered: