linkerd2/cli/cmd
Tarun Pothulapati 2087c95dd8
viz: move some components into linkerd-viz (#5340)
* viz: move some components into linkerd-viz

This branch moves the grafana,prometheus,web, tap components
into a new viz chart, following the same extension model that
multi-cluster and jaeger follow.

The components in viz are not injected during install time, and
will go through the injector. The `viz install` does not have any
cli flags to customize the install directly but instead follow the Helm
way of customization by using flags such as 
`set`, `set-string`, `values`, `set-files`.

**Changes Include**
- Move `grafana`, `prometheus`, `web`, `tap` templates into viz extension.
- Remove all add-on related charts, logic and tests w.r.t CLI & Helm.
- Clean up `linkerd2/values.go` & `linkerd2/values.yaml` to not contain
 fields related to viz components.
- Update `linkerd check` Healthchecks to not check for viz components.
- Create a new top level `viz` directory with CLI logic and Helm charts.
- Clean fields in the `viz/Values.yaml` to be in the `<component>.<property>`
model. Ex: `prometheus.resources`, `dashboard.image.tag`, etc so that it is
consistent everywhere.

**Testing**

```bash
# Install the Core Linkerd Installation
./bin/linkerd install | k apply -f -

# Wait for the proxy-injector to be ready
# Install the Viz Extension
./bin/linkerd cli viz install | k apply -f -

# Customized Install
./bin/linkerd cli viz install --set prometheus.enabled=false | k apply -f -
```

What is not included in this PR:
- Move of Controller from core install into the viz extension.
- Simplification and refactoring of the core chart i.e removing `.global`, etc.

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2020-12-23 20:17:31 +05:30
..
testdata viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
alpha.go Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
check.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
check_test.go jaeger: add check sub command (#5295) 2020-12-17 00:26:34 +05:30
completion.go Fix CLI zsh completion (#5285) 2020-12-02 15:37:57 -05:00
completion_test.go Bump proxy-init to 1.2.0 (#3397) 2019-09-09 09:06:14 -07:00
dashboard.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
diagnostics.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
doc.go Use linkerd-jaeger extension for control plane tracing (#5299) 2020-12-08 14:34:26 -08:00
edges.go Fix description to match command (#5431) 2020-12-22 15:18:51 -08:00
edges_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
endpoints.go Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
endpoints_test.go Have `linkerd endpoints` use `Destination.Get` (#2990) 2019-07-03 09:11:03 -05:00
inject.go Fix CLI install/upgrade overriding settings in HA (#5399) 2020-12-18 12:11:52 -05:00
inject_test.go Fix CLI install/upgrade overriding settings in HA (#5399) 2020-12-18 12:11:52 -05:00
inject_util.go Update `inject` to throw an error while injecting non-compliant pods (#4346) 2020-06-24 14:07:05 -05:00
install-cni-plugin.go extension: Add new jaeger binary (#5278) 2020-11-25 20:10:35 +05:30
install-cni-plugin_test.go CNI: Use skip ports configuration in CNI (#4974) 2020-09-23 13:00:22 +05:30
install-sp.go Add safe accessor for Global in linkerd-config (#5269) 2020-11-23 12:45:58 -08:00
install-sp_test.go Add cluster domain cli flag (#3360) 2019-09-19 16:08:50 -07:00
install.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
install_cni_helm_test.go Upgrade to Helm v3 sdk (#4878) 2020-11-23 12:46:41 -08:00
install_helm_test.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
install_test.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
main_test.go add flag for dumping rejected results to folder for use with external diff (#4509) 2020-06-04 10:49:41 -04:00
metrics.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
metrics_diagnostics_util.go Linkerd CLI command to get control plane diagnostics (#4050) 2020-02-24 09:09:54 -08:00
metrics_diagnostics_util_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
options.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
profile.go Add safe accessor for Global in linkerd-config (#5269) 2020-11-23 12:45:58 -08:00
profile_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
public_api.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
range_slice.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
range_slice_test.go Enable mixed configuration of skip-[inbound|outbound]-ports (#3766) 2019-12-20 09:32:13 -05:00
root.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
routes.go Simplified boolean expression (#5251) 2020-11-20 09:37:06 -05:00
routes_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
stat.go Fixes unit tests when default kubeconfig namespace is not "default" (#4825) 2020-08-03 11:27:02 -07:00
stat_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
tap.go cli: fix and update timeout warnings in profile cmd (#5122) 2020-10-27 22:08:21 +05:30
tap_test.go cli: fix and update timeout warnings in profile cmd (#5122) 2020-10-27 22:08:21 +05:30
test_helper.go Refactor upgrade tests to remove use of golden files (#4860) 2020-08-11 09:22:29 -07:00
top.go Use errors.Is instead of checking underlying err messages (#5140) 2020-10-28 21:33:17 +05:30
uninject.go Update Injection to use new linkerd-config.values (#5036) 2020-10-07 09:54:34 -07:00
uninject_test.go Fix CLI install/upgrade overriding settings in HA (#5399) 2020-12-18 12:11:52 -05:00
uninstall.go Add jaeger uninstall command (#5353) 2020-12-14 15:48:44 -08:00
upgrade.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
upgrade_legacy.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
upgrade_test.go viz: move some components into linkerd-viz (#5340) 2020-12-23 20:17:31 +05:30
version.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
version_test.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00