Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

giantswarm/linkerd-viz-app

Repository files navigation

CircleCI

linkerd-viz chart

This chart is an extension for Linkerd2 service mesh app provided by Giant Swarm. It adds a visualization stack of prometheus and metrics components to the cluster, pre-configured for the linkerd-control-plane-app.

Installing

There are 3 ways to install this app onto a workload cluster.

  1. Using our web interface
  2. Using our API
  3. Directly creating the App custom resource on the management cluster.

Configuring

The user configuration should only contain values that are additional to or diverge from the default values provided by the chart. Check our user configuration docs to see how configurations are merged.

Sample App CR and ConfigMap for the management cluster

If you have access to the Kubernetes API on the management cluster, you could create the App CR and ConfigMap directly.

Here is an example that would install the app to workload cluster <cluster-id>:

# appCR.yaml
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
  name: linkerd-viz
  namespace: <cluster-id>
spec:
  catalog: giantswarm
  kubeConfig:
    inCluster: false
  name: linkerd-viz
  namespace: linkerd-viz
  namespaceConfig:
    labels:
      kubernetes.io/metadata.name: linkerd-viz
      linkerd.io/extension: viz
  userConfig:
    configMap:
      name: linkerd-viz-userconfig-<your-cluster-id>
      namespace: <your-cluster-id>
    secret:
      name: linkerd-viz-userconfig-<your-cluster-id>
      namespace: <your-cluster-id>
  version: 0.8.0

See our full reference page on how to configure applications for more details.

Credit