# LinkerD

## Installing the CLI

```bash
brew install linkerd
```

## Installing LinkerD on the server with LinkerD CLI

```bash
linkerd version
linkerd check --pre
linkerd install | kubectl apply -f -
linkerd check
linkerd viz install | kubectl apply -f -
linkerd viz dashboard &
```

## Installing LinkerD with Helm

```bash
# with helm
kubectl create ns linkerd
helm repo add linkerd https://helm.linkerd.io/stable
helm repo update
helm -n linkerd install linkerd2 linkerd/linkerd2
helm -n linkerd install linkerd2 \
    --set-file identityTrustAnchorsPEM=ca.crt \
    --set-file identity.issuer.tls.crtPEM=issuer.crt \
    --set-file identity.issuer.tls.keyPEM=issuer.key \
    linkerd/linkerd2
```

## Add existing namespaces to mesh
