> For the complete documentation index, see [llms.txt](https://documentation.immuta.com/knowledge-base/LmMmmLqSszWn8sdGe7gH/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.immuta.com/knowledge-base/LmMmmLqSszWn8sdGe7gH/infrastructure/linkerd/open-source.md). Agents can also search and read this documentation through its [MCP server](https://documentation.immuta.com/knowledge-base/LmMmmLqSszWn8sdGe7gH/~gitbook/mcp).

# Open Source Linkerd

## Considerations

Edge releases of Linkerd are provided by the open source community:

> Edge releases are generally considered *production ready*, and the project will mark specific releases as “not recommended” if bugs are discovered after release.

{% embed url="<https://linkerd.io/releases/>" %}
Linkerd Release and Version Definitions
{% endembed %}

## Installation

This article closely follows the Linkerd Getting Started Guide

{% embed url="<https://linkerd.io/2.15/getting-started/>" %}

### Install the cli

```bash
curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install-edge | sh
export PATH=$HOME/.linkerd2/bin:$PATH
```

### Validate the destination cluster

```bash
linkerd check --pre
```

<details>

<summary>Example precheck output</summary>

```
kubernetes-api
--------------
√ can initialize the client
√ can query the Kubernetes API

kubernetes-version
------------------
√ is running the minimum Kubernetes API version

pre-kubernetes-setup
--------------------
√ control plane namespace does not already exist
√ can create non-namespaced resources
√ can create ServiceAccounts
√ can create Services
√ can create Deployments
√ can create CronJobs
√ can create ConfigMaps
√ can create Secrets
√ can read Secrets
√ can read extension-apiserver-authentication configmap
√ no clock skew detected

linkerd-version
---------------
√ can determine the latest version
√ cli is up-to-date

Status check results are √
```

</details>

### Install Linkerd

```bash
linkerd install --crds | kubectl apply -f -
linkerd install | kubectl apply -f -
```

### Validate install

```bash
linkerd check
```

## Applying linkerd to an existing Immuta deployment

```bash
kubectl get -n immuta deploy -o yaml |linkerd inject - |kubectl apply -f -

deployment "immuta-audit" injected
deployment "immuta-cache" injected
deployment "immuta-discover" injected
deployment "immuta-secure-background-worker" injected
deployment "immuta-secure-web" injected

deployment.apps/immuta-audit configured
deployment.apps/immuta-cache configured
deployment.apps/immuta-discover configured
deployment.apps/immuta-secure-background-worker configured
deployment.apps/immuta-secure-web configured
```

## Installing Linkerd visualization tools

```bash
linkerd viz install | kubectl apply -f -
kubectl -n immuta rollout restart deploy
kubectl port-forward -n linkerd-viz service/web 8084:8084
```

<figure><img src="https://content.gitbook.com/content/6bdapAUtaqhzRR3QvG9j/blobs/dGU9y1nkNYaBjqPOM9VS/Screenshot%202024-06-21%20at%2010.53.17%E2%80%AFAM.png" alt=""><figcaption><p>Linkerd Meshed Pods</p></figcaption></figure>

## Validating mTLS

{% embed url="<https://linkerd.io/2.15/tasks/validating-your-traffic/#validating-mtls-with-linkerd-viz-edges>" %}
Linkerd mTLS validation article
{% endembed %}

```bash
linkerd viz -n immuta edges deployment

SRC                               DST                               SRC_NS        DST_NS   SECURED
immuta-secure-background-worker   immuta-cache                      immuta        immuta   √
immuta-secure-web                 immuta-cache                      immuta        immuta   √
prometheus                        immuta-audit                      linkerd-viz   immuta   √
prometheus                        immuta-cache                      linkerd-viz   immuta   √
prometheus                        immuta-discover                   linkerd-viz   immuta   √
prometheus                        immuta-secure-background-worker   linkerd-viz   immuta   √
prometheus                        immuta-secure-web                 linkerd-viz   immuta   √
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.immuta.com/knowledge-base/LmMmmLqSszWn8sdGe7gH/infrastructure/linkerd/open-source.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
