argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18k stars 5.48k forks source link

Offer to color rows by pod #20898

Open jsoref opened 18 hours ago

jsoref commented 18 hours ago

Summary

Currently, you can visit a statefulset (or deployment, or replicaset, or ...), e.g.: https://cd.apps.argoproj.io/applications/argo-cd?resource=kind%3APod&node=apps%2FStatefulSet%2Fargocd%2Fargocd-redis-ha-server%2F0&tab=logs and select the Show pod names button:

image

It should be possible to make it easier for viewers to see which log lines relate to which pod. Consistently coloring the log row backgrounds by pod name would make it easier to follow flows without taking up lots of space.

Motivation

Right now, you can show pod names, but that eats quite a bit of space from the log view and it doesn't actually make it easy to see which lines are from the same pod.

Proposal

Offer to color log message rows. Automatically assign colors based on pods. Show the pod names/colors above or below the log view.

aali309 commented 10 hours ago

I would like to take a look into this please.

surajyadav1108 commented 3 hours ago

I would like to take a look into this please.

go ahead you don't need to be assigned.