Render a branch with replicaSets and pods for each deployment
Proposal
We want to expand a branch when the user selects a deployment. Once the deployment is selected, we need to request the replicaSets list and map it to the current deployment by the ownerReference
field of metadata
object.
For each replicaSet, we need to map the related pods by their respective ownerReference
. We can reuse the pods list from the pods tab or re-request them. We need to watch for the pod changes.
Reference:
Edited by Anna Vovchenko