mirror of https://github.com/linkerd/linkerd2.git
* 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> |
||
---|---|---|
.. | ||
testdata | ||
alpha.go | ||
check.go | ||
check_test.go | ||
completion.go | ||
completion_test.go | ||
dashboard.go | ||
diagnostics.go | ||
doc.go | ||
edges.go | ||
edges_test.go | ||
endpoints.go | ||
endpoints_test.go | ||
inject.go | ||
inject_test.go | ||
inject_util.go | ||
install-cni-plugin.go | ||
install-cni-plugin_test.go | ||
install-sp.go | ||
install-sp_test.go | ||
install.go | ||
install_cni_helm_test.go | ||
install_helm_test.go | ||
install_test.go | ||
main_test.go | ||
metrics.go | ||
metrics_diagnostics_util.go | ||
metrics_diagnostics_util_test.go | ||
options.go | ||
profile.go | ||
profile_test.go | ||
public_api.go | ||
range_slice.go | ||
range_slice_test.go | ||
root.go | ||
routes.go | ||
routes_test.go | ||
stat.go | ||
stat_test.go | ||
tap.go | ||
tap_test.go | ||
test_helper.go | ||
top.go | ||
uninject.go | ||
uninject_test.go | ||
uninstall.go | ||
upgrade.go | ||
upgrade_legacy.go | ||
upgrade_test.go | ||
version.go | ||
version_test.go |