stern icon indicating copy to clipboard operation
stern copied to clipboard

Show all logs from all containers from all states together including previous containers

Open kivagant-ba opened this issue 6 years ago • 4 comments

Related to:

  • https://github.com/wercker/stern/issues/72
  • https://github.com/wercker/stern/issues/103
  • https://github.com/wercker/stern/issues/68

Stern is very useful and great but there are some cases where it requires additional commands. It would be nice to have the only one option to print-and-exit everything that matches the given filter:

  • logs from active pods and all their containers inside.
  • logs from terminated/exited pods (completed jobs) and all their containers.
  • logs from all previous containers that crashed/exited and restarted by Kubernetes.
  • everything else that Stern can support.

So the feature request combines other issues together to get all available logs without using any parameters combinations.

Use case:

  1. Install a Helm chart without analyzing its resources.
  2. With stern print logs from everything installed based on the project name including jobs, crashed pods, running pods etc.

kivagant-ba avatar Jul 15 '19 09:07 kivagant-ba