Show actual Pod name on Deploy Boards
Today, Deploy Boards shows the summary state of a deployment. It knows for example that a given deployment has 8 running pods, 1 actively deploying, and 1 pod that has not yet started.
However we don't actually retrieve from Kubernetes the actual list of pods for a given deployment. This is why for example we show the name of the pods as Pod 0
or Pod 1
instead of their actual names.
We should enhance this logic to retrieve the actual list of pods for a given deployment, and show the actual pod name instead of the simple pod number.
This has two benefits:
- If you are trying to use something like
kubectl
to get more information on the pod, you now have the actual Pod ID to look up directly. (e.g.kubectl describe pod xxx
) - Once we know the actual Pod ID, we can provide a really smooth entry point to Pod Logs (https://gitlab.com/gitlab-org/gitlab-ee/issues/4752).
Proposal
- Enhance deploy boards to show the actual pod name on hover, in addition to the status we show today.
- Allow users to click on the pod, and get taken to the upcoming pod logs view (https://gitlab.com/gitlab-org/gitlab-ee/issues/4752) for that pod.
This would also lay the ground work for future features like: https://gitlab.com/gitlab-org/gitlab-ee/issues/2413
Design
- The tooltip shows up when the pod box is on hover.
- Then, the style of pod box will change to:
- Background color -->
#75D09B
- Border color -->
#1AAA55
Edited by Hazel Yang