astefanutti / kubebox

⎈❏ Terminal and Web console for Kubernetes
http://astefanutti.github.io/kubebox
MIT License
2.14k stars 142 forks source link

Show init containers logs #61

Closed lduparc closed 4 years ago

lduparc commented 4 years ago

It will be apppreciate to be able to see initContainers logs.

Moreover, gettings logs on CrashloopBackOff should be interesting

dolphyvn commented 4 years ago

Interested to have those features too.

astefanutti commented 4 years ago

Moreover, gettings logs on CrashloopBackOff should be interesting

It is supposed to be supported since version 0.6.0 with 2b07db88566aacf5cee7d211017ae05cc628c9f5. If it turns out it does not work for you with 0.6.0, could you please report a separate issue?

lduparc commented 4 years ago

Sorry CrashLoopBackOff is working with 0.6.0 version. I have updated first comment.

But InitContainers will be an interesting feature.

astefanutti commented 4 years ago

Thanks for the feedback. For the init containers log, it should only a matter of iterating over the initContainers array, as it is already done for the containers array. We'll add that enhancement for the next release.

astefanutti commented 4 years ago

This should be fixed with 2260089cc88367612d59ccb8e0ce6d3c4a8be3c7. Thanks for your patience.

astefanutti commented 4 years ago

There is a follow-up commit e8afdfb76f654fe90d2947a8dedfa03a77b29473, that enables to view init container logs even if the pod itself is still in initialising phase. It'll be available in the next release.