Lens: Logs per workload

Created on 18 Apr 2020  路  7Comments  路  Source: lensapp/lens

Make logging available per workload

Why is this needed:
Most deployments have more than a single pod, usually, when searching for something, or making some test, it's not always known in which exact pod the request will end up, so it's really useful to tail the logs from all the pods of a workload

It would actually be really nice if it could have all the options that stern has, for example, like filtering per container or allowing to specify exclusions

Environment you are Lens application on:

  • Kubernetes distribution: GKE, Rancher and EKS, but I don't think it matters
  • Desktop OS: macOS
arelogs enhancement epic

Most helpful comment

The one thing I _really_ miss from Kubernetes Dashboard is being able to switch between logs within a deployment.

For example, here we have the dashboard view of logs for our datadog agent deployment:
image

We can choose between the specific named containers from within the deployment:
image

And then easily flick between the logs for a specific container instance:
image

All 7 comments

+1

Agree, it would be a killer feature!

Even a quick way to switch between pods (within a deployment) when viewing logs would be a great help - having to backtrack to the deployment, scroll back down to the list of pods and then drill into the next one and hit the logs again isn't ideal, especially since the list of pods doesn't seem to have a stable sort order. If your pod names are long enough that they get truncated, it's easy to end up checking the same pod twice instead of checking the next one.

The one thing I _really_ miss from Kubernetes Dashboard is being able to switch between logs within a deployment.

For example, here we have the dashboard view of logs for our datadog agent deployment:
image

We can choose between the specific named containers from within the deployment:
image

And then easily flick between the logs for a specific container instance:
image

For what it's worth I am also very interested in that feature.

Related to #430

+1 for this. Aggregated logs across all pods in a deployment (or even namespace) would be fantastic. I just tried out some other offerings that have this feature and it was very easy to see that one pod wasn't co-operating like it should.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snowmoonsoftware picture snowmoonsoftware  路  4Comments

spyro2000 picture spyro2000  路  3Comments

guilhem picture guilhem  路  4Comments

aaronsssya picture aaronsssya  路  4Comments

ocdi picture ocdi  路  4Comments