mirror of https://github.com/linkerd/linkerd2.git
* Add a Replication Controllers page in the Web UI @siggy pointed out that we don't need to use the PodsList api any more, since the new stats endpoint (#671) includes meshedPodCount and totalPodCount, which is all we need to determine whether the deployment/rc has been added to the mesh (which is what we were using ListPods to determine). This PR modifies deployments to not use the pods api any more, and adds a Replication Controllers page. This page is quite similar to the Deployments page in logic, so I've made a PodOwnersList component to share the code. I haven't added Replication Controllers to the Service Mesh page yet, because that page does require a list of component pods. Also, we don't need the calls to Prometheus for the Service Mesh page, so I don't want to use the existing stat apis for it. I figure that is a large enough change for a separate PR. |
||
---|---|---|
.. | ||
api_handlers.go | ||
api_handlers_test.go | ||
handlers.go | ||
handlers_test.go | ||
server.go | ||
test_helpers.go |