crash-diagnostics icon indicating copy to clipboard operation
crash-diagnostics copied to clipboard

Web Transport/Server

Open moshloop opened this issue 4 years ago • 1 comments

Collecting logs via SSH is not always ideal:

  • It requires elevated write access and scp which may not always be possible.
  • DaemonSet/Job based collection requires that the kubelet and / CRI be up and healthy

e.g.

crashd serve \ 
     --port 999\ 
     --ca-path /etc/kubernetes/pki/ca.crt \ 
     --watchdog-service kubelet \ # only open the port when the specified service is not healthy 
     Diagnostic.file

moshloop avatar Aug 06 '20 08:08 moshloop

Thanks @moshloop, can you elaborate on what that crashd serve command would do and how it would work? Thanks.

vladimirvivien avatar Aug 17 '20 18:08 vladimirvivien