linkerd-viz
by Buoyant
The Linkerd-Viz extension contains observability and visualization components for Linkerd.
About this chart
linkerd-viz
The Linkerd-Viz extension contains observability and visualization components for Linkerd.
Homepage: https://linkerd.io
Quickstart and documentation
You can run Linkerd on any Kubernetes cluster in a matter of seconds. See the Linkerd Getting Started Guide for how.
For more comprehensive documentation, start with the Linkerd docs.
Prerequisite: Linkerd Core Control-Plane
Before installing the Linkerd Viz extension, The core control-plane has to be installed first by following the Linkerd Install Guide.
Adding Linkerd's Helm repository
# To add the repo for Linkerd edge releases:
helm repo add linkerd https://helm.linkerd.io/edge
Installing the Viz Extension Chart
helm install linkerd-viz -n linkerd-viz --create-namespace linkerd/linkerd-viz
Get involved
- Check out Linkerd's source code at GitHub.
- Join Linkerd's user mailing list, developer mailing list, and announcements mailing list.
- Follow @linkerd on Twitter.
- Join the Linkerd Slack.
Requirements
Kubernetes: >=1.31.0-0
| Repository | Name | Version |
|---|---|---|
| file://../../../charts/partials | partials | 0.1.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| clusterDomain | string | "cluster.local" | Kubernetes DNS Domain name to use |
| commonLabels | object | {} | Labels to apply to all resources |
| createNamespaceMetadataJob | bool | true | Creates a Job that adds necessary metadata to the extension's namespace during install; disable if lack of privileges require doing this manually |
| dashboard.GID | string | nil | GID for the dashboard resource |
| dashboard.UID | string | nil | UID for the dashboard resource |
| dashboard.enforcedHostRegexp | string | "" | Host header validation regex for the dashboard. See the Linkerd documentation for more information |
| dashboard.image.name | string | "web" | Docker image name for the web instance |
| dashboard.image.pullPolicy | string | defaultImagePullPolicy | Pull policy for the web component |
| dashboard.image.registry | string | defaultRegistry | Docker registry for the web instance |
| dashboard.image.tag | string | linkerdVersion | Docker image tag for the web instance |
| dashboard.logFormat | string | defaultLogFormat | log format of the dashboard component |
| dashboard.logLevel | string | defaultLogLevel | log level of the dashboard component |
| dashboard.proxy | string | nil | |
| dashboard.replicas | int | 1 | Number of replicas of dashboard |
| dashboard.resources.cpu.limit | string | nil | Maximum amount of CPU units that the web container can use |
| dashboard.resources.cpu.request | string | nil | Amount of CPU units that the web container requests |
| dashboard.resources.ephemeral-storage.limit | string | "" | Maximum amount of ephemeral storage that the web container can use |
| dashboard.resources.ephemeral-storage.request | string | "" | Amount of ephemeral storage that the web container requests |
| dashboard.resources.memory.limit | string | nil | Maximum amount of memory that web container can use |
| dashboard.resources.memory.request | string | nil | Amount of memory that the web container requests |
| dashboard.restrictPrivileges | bool | false | Restrict the Linkerd Dashboard's default privileges to disallow Tap and Check |
| dashboard.service | object | {"annotations":{},"labels":{}} | dashboard service configuration |
| dashboard.service.annotations | object | {} | Additional annotations to add to dashboard service |
| dashboard.service.labels | object | {} | Additional labels to add to dashboard service |
| defaultGID | int | 2103 | GID for all the viz components |
| defaultImagePullPolicy | string | "IfNotPresent" | Docker imagePullPolicy for all viz components |
| defaultLogFormat | string | "plain" | Log format (plain or json) for all the viz components. |
| defaultLogLevel | string | "info" | Log level for all the viz components |
| defaultRegistry | string | "cr.l5d.io/linkerd" | Docker registry for all viz components |
| defaultUID | int | 2103 | UID for all the viz components |
| enablePSP | bool | false | Create Roles and RoleBindings to associate this extension's ServiceAccounts to the control plane PSP resource. This requires that enabledPSP is set to true on the control plane install. Note PSP has been deprecated since k8s v1.21 |
| enablePodAntiAffinity | bool | false | Enables Pod Anti Affinity logic to balance the placement of replicas across hosts and zones for High Availability. Enable this only when you have multiple replicas of components. |
| enablePodDisruptionBudget | bool | false | enables the creation of pod disruption budgets for tap, tap-injector, web and metrics-api components |
| grafana.externalUrl | string | nil | url of a Grafana instance hosted off-cluster. Cannot be set if grafana.url is set. The reverse proxy will not be used for this URL. |
| grafana.uidPrefix | string | nil | prefix for Grafana dashboard UID's, used when grafana.externalUrl is set. |
| grafana.url | string | nil | url of an in-cluster Grafana instance with reverse proxy configured, used by the Linkerd viz web dashboard to provide direct links to specific Grafana dashboards. Cannot be set if grafana.externalUrl is set. See the Linkerd documentation for more information |
| identityTrustDomain | string | clusterDomain | Trust domain used for identity |
| imagePullSecrets | list | [] | For Private docker registries, authentication is needed. Registry secrets are applied to the respective service accounts |
| jaegerUrl | string | "" | url of external jaeger instance Set this to the name of your jaeger instance, e.g. jaeger.<namespace>.svc.<clusterDomain>:16686. |
| linkerdNamespace | string | "linkerd" | Namespace of the Linkerd core control-plane install |
| linkerdVersion | string | "linkerdVersionValue" | control plane version. See Proxy section for proxy version |
| metricsAPI.GID | string | nil | GID for the metrics-api resource |
| metricsAPI.UID | string | nil | UID for the metrics-api resource |
| metricsAPI.image.name | string | "metrics-api" | Docker image name for the metrics-api component |
| metricsAPI.image.pullPolicy | string | defaultImagePullPolicy | Pull policy for the metrics-api component |
| metricsAPI.image.registry | string | defaultRegistry | Docker registry for the metrics-api component |
| metricsAPI.image.tag | string | linkerdVersion | Docker image tag for the metrics-api component |
| metricsAPI.logFormat | string | defaultLogFormat | log format of the metrics-api component |
| metricsAPI.logLevel | string | defaultLogLevel | log level of the metrics-api component |
| metricsAPI.nodeSelector | object | {"kubernetes.io/os":"linux"} | NodeSelector section, See the K8S documentation for more information |
| metricsAPI.proxy | string | nil | |
| metricsAPI.replicas | int | 1 | Number of replicas of the metrics-api component |
| metricsAPI.resources.cpu.limit | string | nil | Maximum amount of CPU units that the metrics-api container can use |
| metricsAPI.resources.cpu.request | string | nil | Amount of CPU units that the metrics-api container requests |
| metricsAPI.resources.ephemeral-storage.limit | string | "" | Maximum amount of ephemeral storage that the metrics-api container can use |
| metricsAPI.resources.ephemeral-storage.request | string | "" | Amount of ephemeral storage that the metrics-api container requests |
| metricsAPI.resources.memory.limit | string | nil | Maximum amount of memory that metrics-api container can use |
| metricsAPI.resources.memory.request | string | nil | Amount of memory that the metrics-api container requests |
| metricsAPI.service | object | {"annotations":{}} | metrics-api service configuration |
| metricsAPI.service.annotations | object | {} | Additional annotations to add to metrics-api service |
| metricsAPI.tolerations | string | nil | Tolerations section, See the K8S documentation for more information |
| namespaceMetadata.image.name | string | "extension-init" | Docker image name for the namespace-metadata instance |
| namespaceMetadata.image.pullPolicy | string | defaultImagePullPolicy | Pull policy for the namespace-metadata instance |
| namespaceMetadata.image.registry | string | defaultRegistry | Docker registry for the namespace-metadata instance |
| namespaceMetadata.image.tag | string | "v0.1.12" | Docker image tag for the namespace-metadata instance |
| namespaceMetadata.nodeSelector | object | {"kubernetes.io/os":"linux"} | NodeSelector section, See the K8S documentation for more information |
| namespaceMetadata.tolerations | string | nil | Tolerations section, See the K8S documentation for more information |
| nodeSelector | object | {"kubernetes.io/os":"linux"} | Default nodeSelector section, See the K8S documentation for more information |
| podLabels | object | {} | Additional labels to add to all pods |
| prometheus.alertRelabelConfigs | string | nil | Alert relabeling is applied to alerts before they are sent to the Alertmanager. |
| prometheus.alertmanagers | string | nil | Alertmanager instances the Prometheus server sends alerts to configured via the static_configs parameter. |
| prometheus.args | object | {"config.file":"/etc/prometheus/prometheus.yml","storage.tsdb.path":"/data","storage.tsdb.retention.time":"6h"} | Command line options for Prometheus binary |
| prometheus.enabled | bool | true | toggle field to enable or disable prometheus |
| prometheus.globalConfig | object | {"evaluation_interval":"10s","scrape_interval":"10s","scrape_timeout":"10s"} | The global configuration specifies parameters that are valid in all other configuration contexts. |
| prometheus.image.name | string | "prometheus" | Docker image name for the prometheus instance |
| prometheus.image.pullPolicy | string | defaultImagePullPolicy | Pull policy for the prometheus instance |
| prometheus.image.registry | string | "prom" | Docker registry for the prometheus instance |
| prometheus.image.tag | string | "v2.55.1" | Docker image tag for the prometheus instance |
| prometheus.logFormat | string | defaultLogLevel | log format (plain, json) of the prometheus instance |
| prometheus.logLevel | string | defaultLogLevel | log level of the prometheus instance |
| prometheus.metricRelabelConfigs | string | nil | A metricRelabelConfigs section allows to drop high cardinality metrics. NOTE: Please use with caution. Some metrics are needed for linkerd-viz to function properly. |
| prometheus.nodeSelector | object | {"kubernetes.io/os":"linux"} | NodeSelector section, See the K8S documentation for more information |
| prometheus.podAnnotations | object | {} | annotations for the prometheus pod |
| prometheus.proxy | string | nil | |
| prometheus.remoteWrite | string | nil | Allows transparently sending samples to an endpoint. Mostly used for long term storage. |
| prometheus.resources | object | {"cpu":{"limit":null,"request":null},"ephemeral-storage":{"limit":"","request":""},"memory":{"limit":null,"request":null}} | Prometheus data volume size. size: |
| prometheus.resources.cpu.limit | string | nil | Maximum amount of CPU units that the prometheus container can use |
| prometheus.resources.cpu.request | string | nil | Amount of CPU units that the prometheus container requests |
| prometheus.resources.ephemeral-storage.limit | string | "" | Maximum amount of ephemeral storage that the prometheus container can use |
| prometheus.resources.ephemeral-storage.request | string | "" | Amount of ephemeral storage that the prometheus container requests |
| prometheus.resources.memory.limit | string | nil | Maximum amount of memory that prometheus container can use |
| prometheus.resources.memory.request | string | nil | Amount of memory that the prometheus container requests |
| prometheus.ruleConfigMapMounts | string | nil | Alerting/recording rule ConfigMap mounts (sub-path names must end in ´_rules.yml´ or ´_rules.yaml´) |
| prometheus.scrapeConfigs | string | nil | A scrapeConfigs section specifies a set of targets and parameters describing how to scrape them. |
| prometheus.sidecarContainers | string | nil | A sidecarContainers section specifies a list of secondary containers to run in the prometheus pod e.g. to export data to non-prometheus systems |
| prometheus.tolerations | string | nil | Tolerations section, See the [K8S documentation](https://kubernetes.io/docs/concepts/schedul |
Deploy linkerd-viz with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has linkerd-viz on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlinkerd-viz is pinned at v2026.11.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply