crash-diagnostics
crash-diagnostics copied to clipboard
Web Transport/Server
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
Thanks @moshloop, can you elaborate on what that crashd serve
command would do and how it would work? Thanks.