vmware-tanzu / crash-diagnostics

Crash-Diagnostics (Crashd) is a tool to help investigate, analyze, and troubleshoot unresponsive or crashed Kubernetes clusters.
Other
182 stars 43 forks source link

Local Transport #139

Open moshloop opened 4 years ago

moshloop commented 4 years ago

SSH is not always available (either due to networking or credentials) so it would be nice to be able to download crashd and run it locally:

e.g. in starlark:

hosts=resources(provider=local)
vladimirvivien commented 4 years ago

@moshloop thanks for the input. You can run local commands within crashd's skylark using the run_local and capture_local command functions (starting with version 0.3.0). Please let me know if that is what you are referring to.