K9s: Display kubectl command

Created on 15 Oct 2019  路  3Comments  路  Source: derailed/k9s






Describe the solution you'd like
Would it be possible to display or put in the clipboard (directly or on demand via a shortcut) the corresponding kubectl command for each action executed in the k9s console?

question

Most helpful comment

A use case is to be able to replay quickly with kubectl (using copy/paste in another terminal window outside k9s) a command executed in k9s such as displaying the yaml of a pod, or listing pods of a specific namespace, or any other action.

All 3 comments

@ctritten Thank you for this issue! I think we are logging the commands every time we shell out. Most of K9s actions result in calling Kubernetes api directly. Not sure what your are looking for here... What would be your use cases?

A use case is to be able to replay quickly with kubectl (using copy/paste in another terminal window outside k9s) a command executed in k9s such as displaying the yaml of a pod, or listing pods of a specific namespace, or any other action.

This could probably be closed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunohms picture brunohms  路  4Comments

krysopath picture krysopath  路  3Comments

rahilb picture rahilb  路  3Comments

pgoodjohn picture pgoodjohn  路  4Comments

signaleleven picture signaleleven  路  3Comments