When you have multiple replicas in your deployment you often want to see the logs of all pods at once. With kubectl I would use something like this:
kubectl logs -n my-namespace --prefix=true -l app=myapp --tail 200 -f
However, when I select multiple pods with Click and use the logs command, it executes multiple logs commands sequentially instead of giving a merged output.
It would also be nice to be able to select a deployment to request logs for instead of having to select multiple pods (based on a regex or label).
And lastly, if such a merging logs command existed, it would be good if it had the --prefix option of kubectl with some color coding added to differentiate the different pods.
When you have multiple replicas in your deployment you often want to see the logs of all pods at once. With kubectl I would use something like this:
However, when I select multiple pods with Click and use the logs command, it executes multiple logs commands sequentially instead of giving a merged output.
It would also be nice to be able to select a deployment to request logs for instead of having to select multiple pods (based on a regex or label).
And lastly, if such a merging logs command existed, it would be good if it had the
--prefixoption of kubectl with some color coding added to differentiate the different pods.