Linkerd (BETA)
Linkerd (BETA)
by DigitalOcean

VERSION Beta

Create Linkerd (BETA)

Description

Linkerd is an ultralight service mesh for Kubernetes. It gives you observability, metrics, reliability, and security without requiring any code changes. And now, the DigitalOcean Kubernetes Linkerd 1-Click App configures and performs a recommended deployment of Linkerd2 onto a DigitalOcean Kubernetes cluster, in the linkerd namespace. It's all done for you, in mere minutes.

The Linkerd2 CLI is recommended to interact with Linkerd2 and instructions are provided to add your specific service. As a part of a recommended deployment this 1-click contains Grafana and Prometheus included in the linkerd namespace.

Linkerd2 is a service mesh for Kubernetes. It makes running services easier and safer by giving you runtime debugging, observability, reliability, and security.

This stack source is Open Source and can be found at https://github.com/digitalocean/marketplace-kubernetes/tree/master/stacks/linkerd2. Contributions on bug fixes and features will be kindly reviewed.

Note: This stack requires a minimum configuration of 2 Nodes at the $10/month plan (2GB memory / 1 vCPU).

Software Included

PackageVersionLicense
linkerd22.4.0Apache 2.0

Getting started after deploying Linkerd (BETA)

Confirm Linkerd is running:

After you have downloaded your kube config file, and are able to successfully connect to your DigitalOcean Kubernetes cluster (see https://cloud.digitalocean.com/kubernetes/clusters/ if you haven’t connected to your cluster) you’ll be able to see Linkerd running in the linkerd namespace by issuing:

kubectl get pods -A

Confirm all linkerd pods are in a “Running” state under the “Status” column:

NAMESPACE     NAME                                    READY   STATUS    RESTARTS   AGE
linkerd       linkerd-controller-677f58bd99-fx47c     4/4     Running   0          6m34s
linkerd       linkerd-grafana-9dbd66dfb-52flb         2/2     Running   0          6m33s
linkerd       linkerd-identity-6587f85db7-6vfkf       2/2     Running   0          6m35s
linkerd       linkerd-prometheus-7cb697456b-jdq6t     2/2     Running   0          6m33s
linkerd       linkerd-sp-validator-7c45798d44-rxhnq   2/2     Running   0          6m32s
linkerd       linkerd-web-6d5b85476c-nf445            2/2     Running   0          6m34s

You can get started with Linkerd in just 3 simple steps.

1.) Install the CLI (Documentation)

If this is your first time running Linkerd, you’ll need to download the command line interface (CLI) onto your local machine. You’ll use this CLI to interact with Linkerd.

Instructions here are for MacOS and Linux. For instructions on other Operating Systems see the release page.

Download and install the Linkerd client binary:

curl -sL https://run.linkerd.io/install | sh

Next, add Linkerd to your path:

export PATH=$PATH:$HOME/.linkerd2/bin

Verify that the CLI is installed by running:

linkerd version

2.) Explore Linkerd (Documentation)

With the control plane installed and running, you can now view the Linkerd dashboard by running:

linkerd dashboard

This will open your default browser and load your Linkerd dashboard.

  • Linkerd also includes Grafana to visualize all the great metrics collected by Prometheus and ships with some extremely valuable dashboards.
  • You can get to these by clicking the Grafana icon in the overview page.

3.) Adding Your Service (Documentation)

In order for your service to take advantage of Linkerd, it needs to have the proxy sidecar added to its resource definition. This is done by using the Linkerd CLI to update the definition and output YAML that can be passed to kubectl. By using Kubernetes’ rolling updates, the availability of your application will not be affected.

To add Linkerd to your service, run:

linkerd inject deployment.yml | kubectl apply -f -

Support Details

Supported By:DigitalOceanDigitalOcean
Hours:Monday - Friday 8am - 5pm Eastern
Support URL:https://github.com/digitalocean/marketplace-kubernetes/issues
Support Email:one-clicks-team@digitalocean.com

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn