Starship
Starship copied to clipboard
CLI should automatically collect logs of all components
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
- 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