linkerd2-cni
by Buoyant
Linkerd is a *service mesh*, designed to give platform-wide observability, reliability, and security without requiring configuration or code changes. The Linkerd [CNI plugin](https://linkerd.io/2/features/cni/) takes care of setting up your pod's network so incoming and outgoing traffic is proxied through the data plane.
About this chart
linkerd2-cni
Linkerd is a service mesh, designed to give platform-wide observability, reliability, and security without requiring configuration or code changes. The Linkerd CNI plugin takes care of setting up your pod's network so incoming and outgoing traffic is proxied through the data plane.
Requirements
Kubernetes: >=1.31.0-0
| Repository | Name | Version |
|---|---|---|
| file://../partials | partials | 0.1.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| commonLabels | object | {} | Labels to apply to all resources |
| destCNIBinDir | string | "/opt/cni/bin" | Directory on the host where the CNI configuration will be placed |
| destCNINetDir | string | "/etc/cni/net.d" | Directory on the host where the CNI plugin binaries reside |
| disableIPv6 | bool | true | Disables adding IPv6 rules on top of IPv4 rules |
| enablePSP | bool | false | Add a PSP resource and bind it to the linkerd-cni ServiceAccounts. Note PSP has been deprecated since k8s v1.21 |
| extraInitContainers | list | [] | Add additional initContainers to the daemonset |
| ignoreInboundPorts | string | "" | Default set of inbound ports to skip via iptables |
| ignoreOutboundPorts | string | "" | Default set of outbound ports to skip via iptables |
| image.name | string | "cr.l5d.io/linkerd/cni-plugin" | Docker image for the CNI plugin |
| image.pullPolicy | string | "IfNotPresent" | Pull policy for the linkerd-cni container |
| image.version | string | "v1.7.1" | Tag for the CNI container Docker image |
| imagePullSecrets | list | [] | |
| inboundProxyPort | int | 4143 | Inbound port for the proxy container |
| iptablesMode | string | "nft" | Variant of iptables that will be used to configure routing. Allowed values are 'nft', 'legacy' and 'plain'. They invoke the 'iptables-nft', 'iptables-legacy' and 'iptables' commands respectively. The 'plain' mode is targeted at RHEL, which ships with an nftables-based 'iptables' command. |
| logLevel | string | "info" | Log level for the CNI plugin |
| outboundProxyPort | int | 4140 | Outbound port for the proxy container |
| podLabels | object | {} | Additional labels to add to all pods |
| portsToRedirect | string | "" | Ports to redirect to proxy |
| priorityClassName | string | "" | Kubernetes priorityClassName for the CNI plugin's Pods |
| privileged | bool | false | Run the install-cni container in privileged mode |
| proxyAdminPort | int | 4191 | Admin port for the proxy container |
| proxyControlPort | int | 4190 | Control port for the proxy container |
| proxyGID | int | -1 | Optional customisation of the group id under which the proxy shall be ran (the group ID will be omitted if lower than 0) |
| proxyUID | int | 2102 | User id under which the proxy shall be ran |
| repairController.enableSecurityContext | bool | true | Include a securityContext in the repair-controller container |
| repairController.enabled | bool | false | Enables the repair-controller container |
| repairController.logFormat | string | plain | Log format (plain or json) for the repair-controller container |
| repairController.logLevel | string | info | Log level for the repair-controller container |
| repairController.resources.cpu.limit | string | "" | Maximum amount of CPU units that the repair-controller container can use |
| repairController.resources.cpu.request | string | "" | Amount of CPU units that the repair-controller container requests |
| repairController.resources.ephemeral-storage.limit | string | "" | Maximum amount of ephemeral storage that the repair-controller container can use |
| repairController.resources.ephemeral-storage.request | string | "" | Amount of ephemeral storage that the repair-controller container requests |
| repairController.resources.memory.limit | string | "" | Maximum amount of memory that the repair-controller container can use |
| repairController.resources.memory.request | string | "" | Amount of memory that the repair-controller container requests |
| resources | object | {"cpu":{"limit":"","request":""},"ephemeral-storage":{"limit":"","request":""},"memory":{"limit":"","request":""}} | Resource requests and limits for linkerd-cni daemonset container |
| resources.cpu.limit | string | "" | Maximum amount of CPU units that the cni container can use |
| resources.cpu.request | string | "" | Amount of CPU units that the cni container requests |
| resources.ephemeral-storage.limit | string | "" | Maximum amount of ephemeral storage that the cni container can use |
| resources.ephemeral-storage.request | string | "" | Amount of ephemeral storage that the cni container requests |
| resources.memory.limit | string | "" | Maximum amount of memory that the cni container can use |
| resources.memory.request | string | "" | Amount of memory that the cni container requests |
| revisionHistoryLimit | int | 10 | Specifies the number of old ReplicaSets to retain to allow rollback. |
| tolerations[0] | object | {"operator":"Exists"} | toleration properties |
| updateStrategy | object | {"rollingUpdate":{"maxUnavailable":1},"type":"RollingUpdate"} | Specifies the update strategy for how the new pods are rolled out |
| useWaitFlag | bool | false | Configures the CNI plugin to use the -w flag for the iptables command |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy linkerd2-cni with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has linkerd2-cni 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 chartlinkerd2-cni 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