Skip to main contentNedix.io

LinkerD service mesh

Provides secure communication between services across nodes.

Resources

Base

/base/linkerd/kustomization.yaml
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: linkerd

resources:
  - namespace.yaml

generators:
  - linkerd-crds-chart.yaml
  - linkerd-control-plane-chart.yaml
  - linkerd-viz-chart.yaml

/base/linkerd/namespace.yaml
---
apiVersion: v1
kind: Namespace

metadata:
  name: linkerd

/base/linkerd/linkerd-control-plane-chart.yaml
---
apiVersion: builtin
kind: HelmChartInflationGenerator

name: linkerd-control-plane

metadata:
  name: linkerd-control-plane-helm-chart

repo: https://helm.linkerd.io/stable
version: 1.9.4
releaseName: linkerd-control-plane

/base/linkerd/linkerd-crds-chart.yaml
---
apiVersion: builtin
kind: HelmChartInflationGenerator

name: linkerd-crds

metadata:
  name: linkerd-crds-helm-chart

repo: https://helm.linkerd.io/stable
version: 1.4.0
releaseName: linkerd-crds

IncludeCRDs: true

/base/linkerd/linkerd-viz-chart.yaml
---
apiVersion: builtin
kind: HelmChartInflationGenerator

name: linkerd-viz

metadata:
  name: linkerd-viz-helm-chart

repo: https://helm.linkerd.io/stable
releaseName: linkerd-viz
version: 30.3.4

Applying

Verify system requirements

linkerd check --pre
linkerd install --crds | kubectl apply -f - \
&& linkerd install | kubectl apply -f - \
&& linkerd check \
&& linkerd viz install | kubectl apply -f - \
&& linkerd viz check

Install CLI

curl -sL https://run.linkerd.io/install | sh \
&& export PATH=$PATH:$HOME/.linkerd2/bin

References