linkerd-multicluster

by Buoyant

Helm chartv30.11.11App stable-2.14.10Verified publisher

The Linkerd-Multicluster extension contains resources to support multicluster linking to remote clusters

About this chart

linkerd-multicluster

The Linkerd-Multicluster extension contains resources to support multicluster linking to remote clusters

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 Multicluster 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 Multicluster Extension Chart

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

Get involved

Requirements

Kubernetes: >=1.21.0-0

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

Values

KeyTypeDefaultDescription
commonLabelsobject{}Labels to apply to all resources
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.
gateway.UIDint2103User id under which the gateway shall be ran
gateway.deploymentAnnotationsobject{}Annotations to add to the gateway deployment
gateway.enabledbooltrueIf the gateway component should be installed
gateway.loadBalancerIPstring""Set loadBalancerIP on gateway service
gateway.loadBalancerSourceRangeslist[]Set loadBalancerSourceRanges on gateway service
gateway.namestring"linkerd-gateway"The name of the gateway that will be installed
gateway.nodeSelectorobject{}Node selectors for the gateway pod
gateway.pauseImagestring"gcr.io/google_containers/pause:3.2"The pause container to use
gateway.portint4143The port on which all the gateway will accept incoming traffic
gateway.probe.pathstring"/ready"The path that will be used by remote clusters for determining whether the gateway is alive
gateway.probe.portint4191The port used for liveliness probing
gateway.probe.secondsint3The interval (in seconds) between liveness probes
gateway.replicasint1Number of replicas for the gateway pod
gateway.serviceAnnotationsobject{}Annotations to add to the gateway service
gateway.serviceTypestring"LoadBalancer"Service Type of gateway Service
gateway.terminationGracePeriodSecondsstring""Set terminationGracePeriodSeconds on gateway deployment
gateway.tolerationslist[]Tolerations for the gateway pod
identityTrustDomainstring"cluster.local"Identity Trust Domain of the certificate authority
imagePullPolicystring"IfNotPresent"Docker imagePullPolicy for all multicluster components
imagePullSecretslist[]For Private docker registries, authentication is needed. Registry secrets are applied to the respective service accounts
linkerdNamespacestring"linkerd"Namespace of linkerd installation
linkerdVersionstring"linkerdVersionValue"Control plane version
namespaceMetadata.image.namestring"extension-init"Docker image name for the namespace-metadata instance
namespaceMetadata.image.pullPolicystringimagePullPolicyPull policy for the namespace-metadata instance
namespaceMetadata.image.registrystring"cr.l5d.io/linkerd"Docker registry for the namespace-metadata instance
namespaceMetadata.image.tagstring"v0.1.0"Docker image tag for the namespace-metadata instance
namespaceMetadata.nodeSelectorobject{}Node selectors for the namespace-metadata instance
namespaceMetadata.tolerationslist[]Tolerations for the namespace-metadata instance
podLabelsobject{}Additional labels to add to all pods
proxyOutboundPortint4140The port on which the proxy accepts outbound traffic
remoteMirrorServiceAccountbooltrueIf the remote mirror service account should be installed
remoteMirrorServiceAccountNamestring"linkerd-service-mirror-remote-access-default"The name of the service account used to allow remote clusters to mirror local services

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy linkerd-multicluster with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has linkerd-multicluster 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-multicluster is pinned at v30.11.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