linkerd2/controller
Andrew Seigner 77fb6d3709
Add namespace as a resource type in public-api (#760)
* Add namespace as a resource type in public-api

The cli and public-api only supported deployments as a resource type.

This change adds support for namespace as a resource type in the cli and
public-api. This also change includes:
- cli statsummary now prints `-`'s when objects are not in the mesh
- cli statsummary prints `No resources found.` when applicable
- removed `out-` from cli statsummary flags, and analagous proto changes
- switched public-api to use native prometheus label types
- misc error handling and logging fixes

Part of #627

Signed-off-by: Andrew Seigner <siggy@buoyant.io>

* Refactor filter and groupby label formulation

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Rename stat_summary.go to stat.go in cli

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Update rbac privileges for namespace stats

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
2018-04-13 16:53:01 -07:00
..
api Add namespace as a resource type in public-api (#760) 2018-04-13 16:53:01 -07:00
cmd Add namespace as a resource type in public-api (#760) 2018-04-13 16:53:01 -07:00
destination Controller: add more destination labels, fix service label (#731) 2018-04-11 10:44:52 -07:00
gen Add namespace as a resource type in public-api (#760) 2018-04-13 16:53:01 -07:00
k8s Add pod-based metric_labels to destinations response (#429) (#654) 2018-04-02 18:36:57 -07:00
script Harmonize Prometheus label usage (#690) 2018-04-05 15:09:06 -07:00
tap Add pod-based metric_labels to destinations response (#429) (#654) 2018-04-02 18:36:57 -07:00
util Reuse code for metrics serving in controller (#585) 2018-03-19 10:33:25 -07:00
Dockerfile Use apps/v1beta2 for Kubernetes 1.8 compatibility (#762) 2018-04-13 12:08:16 -07:00