Container logs
under review
Richard Nghiem
I would like to see the container logs when there is a failed deploy event. We had a failed deploy and the event only shows the message "Back-off restarting failed container", then we had to look at our logging system. It would be nice to see this all in one place. I don't need all the logs, but recent ones to help debug certain events would be nice.
William Morgan
under review
Just to confirm @Alastair and @Richard: if we added a new rollout annotation (or set of annotations) that allowed you to give Dive a URL template, which it would then substitute in various bits of workload metadata and then display to the user on the page--would that work for you?
What metadata would you need? Workload name, namespace, cluster name, service name.... anything else?
Richard Nghiem
William Morgan: Yes, an URL template would be nice. All of the above metadata works for me since that's what I use currently to search in Graylog. Can't think of anything else I would need.
Alastair Firth
pre-filtered links to stackdriver would be ahhhmazing. the k8s info is enough to get there I think. don't want to ship you logs, too much $$
William Morgan
This is definitely something we've discussed in the past! Question for you: is this a convenience measure? (E.g. it's easier to click than to run
kubectl logs
)? Or are there people who might use Dive who wouldn't have access to the logs? Or is there another motivation?Richard Nghiem
William Morgan: This would be for connivence. We use Graylog and can find the error logs there if needed, but there's switching of apps and searching. Clicking on the failed event and a logs tab would be much easier. Also some devs may not want to bother with the cli and Dive helps a lot with that.
Richard Nghiem
William Morgan: I think being able to set a link to with template-able address on the failed event would work also. We could point the link to our logging service with search fields pre-filled for the service or even to our deploy service since ArgoCD already shows logs.
William Morgan
Richard Nghiem: Great, thanks! I like this idea a lot.