linkerd2/controller
Tarun Pothulapati cd2e911be3
viz: add data-plane and prometheus healthchecks (#5602)
* viz: add data-plane and prometheus healthchecks

Fixes #5325

This branch adds the remaining healthchecks for the viz extension
i.e

- Data-plane metrics check in Prometheus
- `--proxy` mode which also checks for tap injections based
  on annotations.

For this, The following changes were needed
- Category.ID is made public so that --proxy toggleness can be
allowed
- Made tap env key as a field so that it can be re-used for
checks

simplify viz.NewHealthChecker by removing the need to
 pass categoryIDs and instead using
hc.appendCategories directly at the caller to add the
required categories. This is possible by dividing the vizCategories
into separate functions

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2021-02-01 23:01:13 +05:30
..
api Extract from public-api all the Prometheus dependencies, and moves things into a new viz component 'linkerd-metrics-api' (#5560) 2021-01-21 18:26:38 -05:00
cmd Extract from public-api all the Prometheus dependencies, and moves things into a new viz component 'linkerd-metrics-api' (#5560) 2021-01-21 18:26:38 -05:00
gen Update generated serviceprofile code (#5580) 2021-01-22 14:34:49 -08:00
heartbeat Fix Heartbeat mem and cpu stats (#5042) 2020-10-08 16:31:16 -05:00
identity Have webhooks refresh their certs automatically (#5282) 2020-12-04 16:25:59 -05:00
k8s Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
proxy-injector viz: add tap-injector (#5540) 2021-01-21 11:24:08 -05:00
script/destination-client Print identity in destination client and fix proxy-identity log line (#4873) 2020-08-13 13:49:55 -07:00
sp-validator Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
tap viz: only tap pods that have tap explicitly enabled (#5608) 2021-01-28 17:37:45 -05:00
tap-injector viz: add data-plane and prometheus healthchecks (#5602) 2021-02-01 23:01:13 +05:30
webhook viz: add tap-injector (#5540) 2021-01-21 11:24:08 -05:00
Dockerfile viz: only tap pods that have tap explicitly enabled (#5608) 2021-01-28 17:37:45 -05:00