linkerd-control-plane
by Buoyant
Linkerd gives you observability, reliability, and security for your microservices — with no code change required.
About this chart
linkerd-control-plane
Linkerd gives you observability, reliability, and security for your microservices — with no code change required.
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-crds chart
Before installing this chart, please install the linkerd-crds chart, which
creates all the CRDs that the components from the current chart require.
Prerequisite: identity certificates
The identity component of Linkerd requires setting up a trust anchor
certificate, and an issuer certificate with its key. These need to be provided
to Helm by the user (unlike when using the linkerd install CLI which can
generate these automatically). You can provide your own, or follow these
instructions to generate new
ones.
Alternatively, both trust anchor and identity issuer certificates may be
derived from in-cluster resources. Existing CA (trust anchor) certificates
must live in a ConfigMap resource named linkerd-identity-trust-roots.
Issuer certificates must live in a Secret named
linkerd-identity-issuer. Both resources should exist in the control-plane's
install namespace. In order to use an existing CA, Linkerd needs to be
installed with identity.externalCA=true. To use an existing issuer
certificate, Linkerd should be installed with
identity.issuer.scheme=kubernetes.io/tls.
A more comprehensive description is in the automatic certificate rotation guide.
Note that the provided certificates must be ECDSA certificates.
Adding Linkerd's Helm repository
Included here for completeness-sake, but should have already been added when
linkerd-crds was installed.
# To add the repo for Linkerd edge releases:
helm repo add linkerd https://helm.linkerd.io/edge
Installing the chart
You must provide the certificates and keys described in the preceding section, and the same expiration date you used to generate the Issuer certificate.
helm install linkerd-control-plane -n linkerd \
--set-file identityTrustAnchorsPEM=ca.crt \
--set-file identity.issuer.tls.crtPEM=issuer.crt \
--set-file identity.issuer.tls.keyPEM=issuer.key \
linkerd/linkerd-control-plane
Note that you require to install this chart in the same namespace you installed
the linkerd-crds chart.
Setting High-Availability
Besides the default values.yaml file, the chart provides a values-ha.yaml
file that overrides some default values as to set things up under a
high-availability scenario, analogous to the --ha option in linkerd install.
Values such as higher number of replicas, higher memory/cpu limits and
affinities are specified in that file.
You can get ahold of values-ha.yaml by fetching the chart files:
helm fetch --untar linkerd/linkerd-control-plane
Then use the -f flag to provide the override file, for example:
helm install linkerd-control-plane -n linkerd \
--set-file identityTrustAnchorsPEM=ca.crt \
--set-file identity.issuer.tls.crtPEM=issuer.crt \
--set-file identity.issuer.tls.keyPEM=issuer.key \
-f linkerd2/values-ha.yaml
linkerd/linkerd-control-plane
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.
Extensions for Linkerd
The current chart installs the core Linkerd components, which grant you reliability and security features. Other functionality is available through extensions. Check the corresponding docs for each one of the following extensions:
- Observability: Linkerd-viz
- Multicluster: Linkerd-multicluster
Requirements
Kubernetes: >=1.31.0-0
| Repository | Name | Version |
|---|---|---|
| file://../partials | partials | 0.1.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| clusterDomain | string | "cluster.local" | Kubernetes DNS Domain name to use |
| clusterNetworks | string | "10.0.0.0/8,100.64.0.0/10,172.16.0.0/12,192.168.0.0/16,fd00::/8" | The cluster networks for which service discovery is performed. This should include the pod and service networks, but need not include the node network. By default, all IPv4 private networks and all accepted IPv6 ULAs are specified so that resolution works in typical Kubernetes environments. |
| cniEnabled | bool | false | enabling this omits the NET_ADMIN capability in the PSP and the proxy-init container when injecting the proxy; requires the linkerd-cni plugin to already be installed |
| commonLabels | object | {} | Labels to apply to all resources |
| configReaders | string | nil | List of additional service accounts with read access to the linkerd-config ConfigMap |
| controller.podDisruptionBudget | object | {"maxUnavailable":1} | sets pod disruption budget parameter for all deployments |
| controller.podDisruptionBudget.maxUnavailable | int | 1 | Maximum number of pods that can be unavailable during disruption |
| controller.tracing.collector.endpoint | string | "" | The collector endpoint to send traces to. Required if tracing is enabled. If this is unset and proxy.tracing.collector.endpoint is set, that endpoint will be re-used here. |
| controller.tracing.enabled | bool | false | Enables trace collection and export in the proxy |
| controllerGID | int | -1 | Optional customisation of the group ID for the control plane components (the group ID will be omitted if lower than 0) |
| controllerImage | string | "cr.l5d.io/linkerd/controller" | Docker image for the destination and identity components |
| controllerImageVersion | string | "" | Optionally allow a specific container image Tag (or SHA) to be specified for the controllerImage. |
| controllerLogFormat | string | "plain" | Log format for the control plane components |
| controllerLogLevel | string | "info" | Log level for the control plane components |
| controllerReplicas | int | 1 | Number of replicas for each control plane pod |
| controllerUID | int | 2103 | User ID for the control plane components |
| debugContainer.image.name | string | "cr.l5d.io/linkerd/debug" | Docker image for the debug container |
| debugContainer.image.pullPolicy | string | imagePullPolicy | Pull policy for the debug container image |
| debugContainer.image.version | string | linkerdVersion | Tag for the debug container image |
| deploymentStrategy | object | {"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"}} | default kubernetes deployment strategy |
| destinationController.livenessProbe.timeoutSeconds | int | 1 | |
| destinationController.meshedHttp2ClientProtobuf.keep_alive.interval.seconds | int | 10 | |
| destinationController.meshedHttp2ClientProtobuf.keep_alive.timeout.seconds | int | 3 | |
| destinationController.meshedHttp2ClientProtobuf.keep_alive.while_idle | bool | true | |
| destinationController.podAnnotations | object | {} | Additional annotations to add to destination pods |
| destinationController.readinessProbe.timeoutSeconds | int | 1 | |
| disableHeartBeat | bool | false | Set to true to not start the heartbeat cronjob |
| disableIPv6 | bool | true | disables routing IPv6 traffic in addition to IPv4 traffic through the proxy (IPv6 routing only available as of proxy-init v2.3.0 and linkerd-cni v1.4.0) |
| egress.globalEgressNetworkNamespace | string | "linkerd-egress" | The namespace that is used to store egress configuration that affects all client workloads in the cluster |
| enableEndpointSlices | bool | true | enables the use of EndpointSlice informers for the destination service; enableEndpointSlices should be set to true only if EndpointSlice K8s feature gate is on |
| enableH2Upgrade | bool | true | Allow proxies to perform transparent HTTP/2 upgrading |
| enablePSP | bool | false | Add a PSP resource and bind it to the control plane ServiceAccounts. Note PSP has been deprecated since k8s v1.21 |
| enablePodAntiAffinity | bool | false | enables pod anti affinity creation on deployments for high availability |
| enablePodDisruptionBudget | bool | false | enables the creation of pod disruption budgets for control plane components |
| enablePprof | bool | false | enables the use of pprof endpoints on control plane component's admin servers |
| identity.externalCA | bool | false | If the linkerd-identity-trust-roots ConfigMap has already been created |
| identity.issuer.clockSkewAllowance | string | "20s" | Amount of time to allow for clock skew within a Linkerd cluster |
| identity.issuer.issuanceLifetime | string | "24h0m0s" | Amount of time for which the Identity issuer should certify identity |
| identity.issuer.scheme | string | "linkerd.io/tls" | |
| identity.issuer.tls | object | {"crtPEM":"","keyPEM":""} | Which scheme is used for the identity issuer secret format |
| identity.issuer.tls.crtPEM | string | "" | Issuer certificate (ECDSA). It must be provided during install. |
| identity.issuer.tls.keyPEM | string | "" | Key for the issuer certificate (ECDSA). It must be provided during install |
| identity.kubeAPI.clientBurst | int | 200 | Burst value over clientQPS |
| identity.kubeAPI.clientQPS | int | 100 | Maximum QPS sent to the kube-apiserver before throttling. See token bucket rate limiter implementation |
| identity.livenessProbe.timeoutSeconds | int | 1 | |
| identity.podAnnotations | object | {} | Additional annotations to add to identity pods |
| identity.readinessProbe.timeoutSeconds | int | 1 | |
| identity.serviceAccountTokenProjection | bool | true | Use Service Account token Volume projection for pod validation instead of the default token |
| identityTrustAnchorsPEM | string | "" | Trust root certificate (ECDSA). It must be provided during install. |
| identityTrustDomain | string | clusterDomain | Trust domain used for identity |
| imagePullPolicy | string | "IfNotPresent" | Docker image pull policy |
| imagePullSecrets | list | [] | For Private docker registries, authentication is needed. Registry secrets are applied to the respective service accounts |
| kubeAPI.clientBurst | int | 200 | Burst value over clientQPS |
| kubeAPI.clientQPS | int | 100 | Maximum QPS sent to the kube-apiserver before throttling. See token bucket rate limiter implementation |
| linkerdVersion | string | "linkerdVersionValue" | control plane version. See Proxy section for proxy version |
| networkValidator.connectAddr | string | "" | Address to which the network-validator will attempt to connect. This should be an IP that the cluster is expected to be able to reach but a port it should not, e.g., a public IP for public clusters and a private IP for air-gapped clusters with a port like 20001. If empty, defaults to 1.1.1.1:20001 and [fd00::1]:20001 for IPv4 and IPv6 respectively. |
| networkValidator.listenAddr | string | "" | Address to which network-validator listens to requests from itself. If empty, defaults to 0.0.0.0:4140 and [::]:4140 for IPv4 and IPv6 respectively. |
| networkValidator.logFormat | string | plain | Log format (plain or json) for network-validator |
| networkValidator.logLevel | string | debug | Log level for the network-validator |
| networkValidator.securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}} | The securityContext in the network-validator pod spec |
| networkValidator.timeout | string | "10s" | Timeout before network-validator fails to validate the pod's network connectivity |
| nodeSelector | object | {"kubernetes.io/os":"linux"} | NodeSelector section, See the K8S documentation for more information |
| podAnnotations | object | {} | Additional annotations to add to all pods |
| podLabels | object | {} | Additional labels to add to all pods |
| podMonitor.controller.enabled | bool | true | Enables the creation of PodMonitor for the control-plane |
| podMonitor.controller.honorTimestamps | bool | false | Sets honorTimestamps for the control-plane PodMonitor endpoint. W |
Deploy linkerd-control-plane with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has linkerd-control-plane 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-control-plane 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