kubectl-status
kubectl-status copied to clipboard
add matching service details to the workload resources
We can include the templates for the matching services for workload objects. Similar to the owners section we can have a matching services field in the output.
With d92e9d5 we can now display service detail in the pod output, but we need to cover the case for the workload types e.g. Deployment and StatefulSet.
Currently while rendering a resource we go deeper to render resources (e.g. Pod -> RS -> Deployment) but current implementation is always pod-oriented. e.g. when a pod is queried it displays the matching deployment, but not the other way. We first need to address that before implementing this.