CanopyTax / ckube

A cli to simplify working with kubectl for some common workflows
MIT License
132 stars 10 forks source link

Can be used with 2 containers on pod ? #15

Open togro opened 3 years ago

togro commented 3 years ago

Hi,

Hi have two containers , but ckube ask me for choose one container on tail logs :

ckube logs gr-wss-6015 
error running command: kubectl [logs --tail -1 gr-wss-6015-79b4c48fb4-9rbpt]
[gr...9rbpt] - error: a container name must be specified for pod gr-wss-6015-79b4c48fb4-9rbpt, choose one of: [esp gr-wss-6015]
error running command: kubectl [logs --tail -1 gr-wss-6015-79b4c48fb4-6d2ds]
[gr...6d2ds] - error: a container name must be specified for pod gr-wss-6015-79b4c48fb4-6d2ds, choose one of: [esp gr-wss-6015]

ckube works in that cases ?

voldemortensen commented 3 years ago

It now works with the latest release. https://github.com/CanopyTax/ckube/releases/tag/v1.0.1