linkerd2-cni

by Buoyant

Helm chartv30.12.2App stable-2.14.10Verified publisher

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.21.0-0

RepositoryNameVersion
file://../partialspartials0.1.0

Values

KeyTypeDefaultDescription
commonLabelsobject{}Labels to apply to all resources
destCNIBinDirstring"/opt/cni/bin"Directory on the host where the CNI configuration will be placed
destCNINetDirstring"/etc/cni/net.d"Directory on the host where the CNI plugin binaries reside
enablePSPboolfalseAdd a PSP resource and bind it to the linkerd-cni ServiceAccounts. Note PSP has been deprecated since k8s v1.21
extraInitContainerslist[]Add additional initContainers to the daemonset
ignoreInboundPortsstring""Default set of inbound ports to skip via iptables
ignoreOutboundPortsstring""Default set of outbound ports to skip via iptables
image.namestring"cr.l5d.io/linkerd/cni-plugin"Docker image for the CNI plugin
image.pullPolicystring"IfNotPresent"Pull policy for the linkerd-cni container
image.versionstring"v1.3.0"Tag for the CNI container Docker image
imagePullSecretslist[]
inboundProxyPortint4143Inbound port for the proxy container
logLevelstring"info"Log level for the CNI plugin
outboundProxyPortint4140Outbound port for the proxy container
podLabelsobject{}Additional labels to add to all pods
portsToRedirectstring""Ports to redirect to proxy
priorityClassNamestring""Kubernetes priorityClassName for the CNI plugin's Pods
privilegedboolfalseRun the install-cni container in privileged mode
proxyAdminPortint4191Admin port for the proxy container
proxyControlPortint4190Control port for the proxy container
proxyUIDint2102User id under which the proxy shall be ran
repairController.enableSecurityContextbooltrueInclude a securityContext in the repair-controller container
repairController.enabledboolfalseEnables the repair-controller container
repairController.logFormatstringplainLog format (plain or json) for the repair-controller container
repairController.logLevelstringinfoLog level for the repair-controller container
repairController.resources.cpu.limitstring""Maximum amount of CPU units that the repair-controller container can use
repairController.resources.cpu.requeststring""Amount of CPU units that the repair-controller container requests
repairController.resources.ephemeral-storage.limitstring""Maximum amount of ephemeral storage that the repair-controller container can use
repairController.resources.ephemeral-storage.requeststring""Amount of ephemeral storage that the repair-controller container requests
repairController.resources.memory.limitstring""Maximum amount of memory that the repair-controller container can use
repairController.resources.memory.requeststring""Amount of memory that the repair-controller container requests
resourcesobject{"cpu":{"limit":"","request":""},"ephemeral-storage":{"limit":"","request":""},"memory":{"limit":"","request":""}}Resource requests and limits for linkerd-cni daemonset container
resources.cpu.limitstring""Maximum amount of CPU units that the cni container can use
resources.cpu.requeststring""Amount of CPU units that the cni container requests
resources.ephemeral-storage.limitstring""Maximum amount of ephemeral storage that the cni container can use
resources.ephemeral-storage.requeststring""Amount of ephemeral storage that the cni container requests
resources.memory.limitstring""Maximum amount of memory that the cni container can use
resources.memory.requeststring""Amount of memory that the cni container requests
tolerations[0]object{"operator":"Exists"}toleration properties
useWaitFlagboolfalseConfigures the CNI plugin to use the -w flag for the iptables command

Autogenerated from chart metadata using helm-docs v1.11.0

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlinkerd2-cni is pinned at v30.12.2 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