linkerd-viz

by Buoyant

Helm chartv30.12.11App stable-2.14.10Verified publisher

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 1.21+ 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 stable releases:
helm repo add linkerd https://helm.linkerd.io/stable
# To add the repo for Linkerd edge releases:
helm repo add linkerd-edge https://helm.linkerd.io/edge

The following instructions use the linkerd repo. For installing an edge release, just replace with linkerd-edge.

Installing the Viz Extension Chart

helm install linkerd-viz -n linkerd-viz --create-namespace linkerd/linkerd-viz

Get involved

Requirements

Kubernetes: >=1.21.0-0

RepositoryNameVersion
file://../../../charts/partialspartials0.1.0

Values

KeyTypeDefaultDescription
clusterDomainstring"cluster.local"Kubernetes DNS Domain name to use
commonLabelsobject{}Labels to apply to all resources
dashboard.UIDstringnilUID for the dashboard resource
dashboard.enforcedHostRegexpstring""Host header validation regex for the dashboard. See the Linkerd documentation for more information
dashboard.image.namestring"web"Docker image name for the web instance
dashboard.image.pullPolicystringdefaultImagePullPolicyPull policy for the web component
dashboard.image.registrystringdefaultRegistryDocker registry for the web instance
dashboard.image.tagstringlinkerdVersionDocker image tag for the web instance
dashboard.logFormatstringdefaultLogFormatlog format of the dashboard component
dashboard.logLevelstringdefaultLogLevellog level of the dashboard component
dashboard.proxystringnil
dashboard.replicasint1Number of replicas of dashboard
dashboard.resources.cpu.limitstringnilMaximum amount of CPU units that the web container can use
dashboard.resources.cpu.requeststringnilAmount of CPU units that the web container requests
dashboard.resources.ephemeral-storage.limitstring""Maximum amount of ephemeral storage that the web container can use
dashboard.resources.ephemeral-storage.requeststring""Amount of ephemeral storage that the web container requests
dashboard.resources.memory.limitstringnilMaximum amount of memory that web container can use
dashboard.resources.memory.requeststringnilAmount of memory that the web container requests
dashboard.restrictPrivilegesboolfalseRestrict the Linkerd Dashboard's default privileges to disallow Tap and Check
dashboard.serviceobject{"annotations":{}}dashboard service configuration
dashboard.service.annotationsobject{}Additional annotations to add to dashboard service
defaultImagePullPolicystring"IfNotPresent"Docker imagePullPolicy for all viz components
defaultLogFormatstring"plain"Log format (plain or json) for all the viz components.
defaultLogLevelstring"info"Log level for all the viz components
defaultRegistrystring"cr.l5d.io/linkerd"Docker registry for all viz components
defaultUIDint2103UID for all the viz components
enablePSPboolfalseCreate 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
enablePodAntiAffinityboolfalseEnables 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.
grafana.externalUrlstringnilurl 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.uidPrefixstringnilprefix for Grafana dashboard UID's, used when grafana.externalUrl is set.
grafana.urlstringnilurl 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
identityTrustDomainstringclusterDomainTrust domain used for identity
imagePullSecretslist[]For Private docker registries, authentication is needed. Registry secrets are applied to the respective service accounts
jaegerUrlstring""url of external jaeger instance Set this to jaeger.linkerd-jaeger.svc.<clusterDomain>:16686 if you plan to use jaeger extension
linkerdNamespacestring"linkerd"Namespace of the Linkerd core control-plane install
linkerdVersionstring"linkerdVersionValue"control plane version. See Proxy section for proxy version
metricsAPI.UIDstringnilUID for the metrics-api resource
metricsAPI.image.namestring"metrics-api"Docker image name for the metrics-api component
metricsAPI.image.pullPolicystringdefaultImagePullPolicyPull policy for the metrics-api component
metricsAPI.image.registrystringdefaultRegistryDocker registry for the metrics-api component
metricsAPI.image.tagstringlinkerdVersionDocker image tag for the metrics-api component
metricsAPI.logFormatstringdefaultLogFormatlog format of the metrics-api component
metricsAPI.logLevelstringdefaultLogLevellog level of the metrics-api component
metricsAPI.nodeSelectorobject{"kubernetes.io/os":"linux"}NodeSelector section, See the K8S documentation for more information
metricsAPI.proxystringnil
metricsAPI.replicasint1number of replicas of the metrics-api component
metricsAPI.resources.cpu.limitstringnilMaximum amount of CPU units that the metrics-api container can use
metricsAPI.resources.cpu.requeststringnilAmount of CPU units that the metrics-api container requests
metricsAPI.resources.ephemeral-storage.limitstring""Maximum amount of ephemeral storage that the metrics-api container can use
metricsAPI.resources.ephemeral-storage.requeststring""Amount of ephemeral storage that the metrics-api container requests
metricsAPI.resources.memory.limitstringnilMaximum amount of memory that metrics-api container can use
metricsAPI.resources.memory.requeststringnilAmount of memory that the metrics-api container requests
metricsAPI.serviceobject{"annotations":{}}metrics-api service configuration
metricsAPI.service.annotationsobject{}Additional annotations to add to metrics-api service
metricsAPI.tolerationsstringnilTolerations section, See the K8S documentation for more information
namespaceMetadata.image.namestring"extension-init"Docker image name for the namespace-metadata instance
namespaceMetadata.image.pullPolicystringdefaultImagePullPolicyPull policy for the namespace-metadata instance
namespaceMetadata.image.registrystringdefaultRegistryDocker registry for the namespace-metadata instance
namespaceMetadata.image.tagstring"v0.1.0"Docker image tag for the namespace-metadata instance
namespaceMetadata.nodeSelectorobject{"kubernetes.io/os":"linux"}NodeSelector section, See the K8S documentation for more information
namespaceMetadata.tolerationsstringnilTolerations section, See the K8S documentation for more information
nodeSelectorobject{"kubernetes.io/os":"linux"}Default nodeSelector section, See the K8S documentation for more information
podLabelsobject{}Additional labels to add to all pods
prometheus.alertRelabelConfigsstringnilAlert relabeling is applied to alerts before they are sent to the Alertmanager.
prometheus.alertmanagersstringnilAlertmanager instances the Prometheus server sends alerts to configured via the static_configs parameter.
prometheus.argsobject{"config.file":"/etc/prometheus/prometheus.yml","storage.tsdb.path":"/data","storage.tsdb.retention.time":"6h"}Command line options for Prometheus binary
prometheus.enabledbooltruetoggle field to enable or disable prometheus
prometheus.globalConfigobject{"evaluation_interval":"10s","scrape_interval":"10s","scrape_timeout":"10s"}The global configuration specifies parameters that are valid in all other configuration contexts.
prometheus.image.namestring"prometheus"Docker image name for the prometheus instance
prometheus.image.pullPolicystringdefaultImagePullPolicyPull policy for the prometheus instance
prometheus.image.registrystring"prom"Docker registry for the prometheus instance
prometheus.image.tagstring"v2.48.0"Docker image tag for the prometheus instance
prometheus.logFormatstringdefaultLogLevellog format (plain, json) of the prometheus instance
prometheus.logLevelstringdefaultLogLevellog level of the prometheus instance
prometheus.nodeSelectorobject{"kubernetes.io/os":"linux"}NodeSelector section, See the K8S documentation for more information
prometheus.proxystringnil
prometheus.remoteWritestringnilAllows transparently sending samples to an endpoint. Mostly used for long term storage.
prometheus.resources.cpu.limitstringnilMaximum amount of CPU units that the prometheus container can use
prometheus.resources.cpu.requeststringnilAmount of CPU units that the prometheus container requests
prometheus.resources.ephemeral-storage.limitstring""Maximum amount of ephemeral storage that the prometheus container can use
prometheus.resources.ephemeral-storage.requeststring""Amount of ephemeral storage that the prometheus container requests
prometheus.resources.memory.limitstringnilMaximum amount of memory that prometheus container can use
prometheus.resources.memory.requeststringnilAmount of memory that the prometheus container requests
prometheus.ruleConfigMapMountsstringnilAlerting/recording rule ConfigMap mounts (sub-path names must end in ´_rules.yml´ or ´_rules.yaml´)
prometheus.scrapeConfigsstringnilA scrapeConfigs section specifies a set of targets and parameters describing how to scrape them.
prometheus.sidecarContainersstringnilA sidecarContainers section specifies a list of secondary containers to run in the prometheus pod e.g. to export data to non-prometheus systems
prometheus.tolerationsstringnilTolerations section, See the K8S documentation for more information
prometheusUrlstring""url of external prometheus instance
tap.UIDstringnilUID for the dashboard resource
tap.caBundlestring""Bundle of CA certificates for tap. If not provided nor injected with cert-manager, then Helm will use the certificate generated for tap.crtPEM. If tap.externalSecret is set to true, this value, injectCaFrom, or injectCaFromSecret must be set, as no certificate will be generated. See the cert-manager CA Injector Docs for more information.
tap.crtPEMstring""Certificate for the Tap component. If not provided and not using an external secret then Helm will generate one.
tap.externalSecretboolfalseDo not create a secret resource for the Tap component. If this is set to true, the value tap.caBundle must be set or

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlinkerd-viz is pinned at v30.12.11 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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