Starship icon indicating copy to clipboard operation
Starship copied to clipboard

CLI should automatically collect logs of all components

Open nascentcore-eng opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. If Starship is not working correctly, logs need to be collected for debugging. It's somewhat curbesome to find all pods of the Starship and getting the logs.

Describe the solution you'd like CLI looks up pods in tricorder name space and lookup for all of the pods, and download them with kubectl or some kunernetes API

Are you on Kubernetes, if so, what version Yes

Kernel version Not relevant

Describe alternatives you've considered Provide a doc for users to download logs with kubectl

Additional context None

nascentcore-eng avatar Mar 16 '23 14:03 nascentcore-eng

  • https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod.go#L88
  • https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L69

nascentcore-eng avatar Mar 17 '23 13:03 nascentcore-eng