Open r-vasquez opened 2 months ago
One of the alternatives discussed with @chrisseto is to:
rpk debug bundle
in each redpanda container.
a. The modified command will need to be able to receive the previously-gathered k8s info.
b. The modified command will need to return the bundle information in a way that the caller can read it.
c. To execute a command, we can use: https://github.com/kubernetes/client-go/tree/master/tools/remotecommandThis is a major refactor of the current way that the command works and will likely need an RFC first.
Please be aware that some of these changes are being made to overcome current limitations:
Who is this for and what problem do they have today?
Currently, rpk relies on having a ClusterRole to collect the information needed for the debug bundle, see:
https://docs.redpanda.com/current/manage/kubernetes/troubleshooting/k-diagnostics-bundle/#generate-a-diagnostics-bundle
This is done to:
Alternatives discussed:
This issue is to track the discussion, but the alternatives discussed are:
kubeconfig
, and authenticate. This will allow collection of the Logs and Resources, but it has its limitations regarding the Admin API calls.JIRA Link: CORE-2649